public class JsonParseException extends RuntimeException
| Constructor and Description |
|---|
JsonParseException(String string,
int errorOffset)
Constructs a JsonParseException with the specified detail message and
offset.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorOffset()
Returns the position where the error was found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JsonParseException(String string, int errorOffset)
string - The detail message.errorOffset - The position where the error is found while parsing.Copyright © 2020 OpenJAX. All rights reserved.