JavaScript is disabled on your browser.
-
-
Constructor Summary
Constructors
Constructor |
Description |
ParseException (String s,
int errorOffset) |
Constructs a ParseException with the specified detail message and
offset.
|
-
Method Summary
All Methods
Modifier and Type |
Method |
Description |
int |
getErrorOffset () |
Returns the position where the error was found.
|
-
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.
Scripting on this page tracks web page traffic, but does not change the content in any way.