public class JSONParseException extends RuntimeException
The error message is formatted so that it points to the first offending character in the JSON string:
{ "x" : 3, "y" : 4, some invalid json.... } ^
Constructor and Description |
---|
JSONParseException(String s,
int pos) |
JSONParseException(String s,
int pos,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString