public class ParseException extends Exception
| Constructor and Description |
|---|
ParseException(String detailMessage,
int location)
Constructs a new instance of this class with its stack trace, detail
message and the location of the error filled in.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorOffset()
Returns the index at which this parse exception occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParseException(String detailMessage, int location)
detailMessage - the detail message for this exception.location - the index at which the parse exception occurred.