-
-
Constructor Summary
Constructors
Constructor |
Description |
ParseException(String s,
int errorOffset) |
Constructs a ParseException with the specified detail message and
offset.
|
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
Constructor Detail
-
ParseException
public ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and
offset.
A detail message is a String that describes this particular exception.
- Parameters:
s
- the detail message
errorOffset
- the position where the error is found while parsing.