java.text.ParseException
A ParseException is thrown when the String being parsed is not in the correct
form.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ParseException(String detailMessage, int location)
Constructs a new instance of this class with its walkback, message and
the location of the error filled in.
Parameters
detailMessage
| String The detail message for the exception. |
location
| int The index at which the parse exception occurred.
|
Public Methods
public
int
getErrorOffset()
Returns the index at which the parse exception occurred.
Returns
- int The index of the parse exception.