public class ParseException extends Exception
Exception,
Format,
FieldPosition,
Serialized Form
| Constructor and Description |
|---|
ParseException(String
Constructs a ParseException 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 ParseException(Strings, int errorOffset)
s - the detail message
errorOffset - the position where the error is found while parsing.