Package | Description |
---|---|
javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
Modifier and Type | Method and Description |
---|---|
JsonLocation |
JsonParsingException.getLocation()
Return the location of the incorrect JSON.
|
JsonLocation |
JsonParser.getLocation()
Return the location that corresponds to the parser's current state in
the JSON input source.
|
Constructor and Description |
---|
JsonParsingException(String message,
JsonLocation location)
Constructs a new runtime exception with the specified detail message.
|
JsonParsingException(String message,
Throwable cause,
JsonLocation location)
Constructs a new runtime exception with the specified detail message and
cause.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.