@Deprecated public class ParseException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_UNEXPECTED_CHAR
Deprecated.
description omitted.
|
static int |
ERROR_UNEXPECTED_EXCEPTION
Deprecated.
description omitted.
|
static int |
ERROR_UNEXPECTED_TOKEN
Deprecated.
description omitted.
|
| Constructor and Description |
|---|
ParseException(int errorType)
Deprecated.
|
ParseException(int position,
int errorType,
Object unexpectedObject)
Deprecated.
|
ParseException(int errorType,
Object unexpectedObject)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorType()
Deprecated.
Action on data for a result.
|
String |
getMessage()
Deprecated.
|
int |
getPosition()
Deprecated.
|
Object |
getUnexpectedObject()
Deprecated.
|
void |
setErrorType(int errorType)
Deprecated.
Action on data for a result.
|
void |
setPosition(int position)
Deprecated.
Action on data for a result.
|
void |
setUnexpectedObject(Object unexpectedObject)
Deprecated.
Action on data for a result.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int ERROR_UNEXPECTED_CHAR
public static final int ERROR_UNEXPECTED_TOKEN
public static final int ERROR_UNEXPECTED_EXCEPTION
public ParseException(int errorType)
errorType - description omitted.public ParseException(int errorType,
Object unexpectedObject)
errorType - description omitted.unexpectedObject - description omitted.public ParseException(int position,
int errorType,
Object unexpectedObject)
position - description omitted.errorType - description omitted.unexpectedObject - description omitted.public int getErrorType()
public void setErrorType(int errorType)
errorType - description omitted.public int getPosition()
JSONParser.getPosition()public void setPosition(int position)
position - description omitted.public Object getUnexpectedObject()
Yytokenpublic void setUnexpectedObject(Object unexpectedObject)
unexpectedObject - description omitted.public String getMessage()
getMessage in class ThrowableApache Camel