java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jooq.tools.json.ParseException
- Alle implementierten Schnittstellen:
Serializable
ParseException explains why and where the error occurs in source JSON text.
- Autor:
- FangYidong<[email protected]>
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
-
Konstruktorübersicht
KonstruktorBeschreibungParseException
(int errorType) ParseException
(int position, int errorType, Object unexpectedObject) ParseException
(int errorType, Object unexpectedObject) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
int
void
setErrorType
(int errorType) void
setPosition
(int position) void
setUnexpectedObject
(Object unexpectedObject) Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Felddetails
-
ERROR_UNEXPECTED_CHAR
public static final int ERROR_UNEXPECTED_CHAR- Siehe auch:
-
ERROR_UNEXPECTED_TOKEN
public static final int ERROR_UNEXPECTED_TOKEN- Siehe auch:
-
ERROR_UNEXPECTED_EXCEPTION
public static final int ERROR_UNEXPECTED_EXCEPTION- Siehe auch:
-
-
Konstruktordetails
-
ParseException
public ParseException(int errorType) -
ParseException
-
ParseException
-
-
Methodendetails
-
getErrorType
public int getErrorType() -
setErrorType
public void setErrorType(int errorType) -
getPosition
public int getPosition()- Gibt zurück:
- The character position (starting with 0) of the input where the error occurs.
- Siehe auch:
-
setPosition
public void setPosition(int position) -
getUnexpectedObject
- Gibt zurück:
- One of the following base on the value of errorType: ERROR_UNEXPECTED_CHAR java.lang.Character ERROR_UNEXPECTED_TOKEN org.json.simple.parser.Yytoken ERROR_UNEXPECTED_EXCEPTION java.lang.Exception
- Siehe auch:
-
setUnexpectedObject
-
getMessage
- Setzt außer Kraft:
getMessage
in KlasseThrowable
-