java.text
Class ParseException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.text.ParseException
This exception is thrown when an unexpected error occurs during parsing.
Authors:- Aaron M. Renn (arenn@urbanophile.com)
- Per Bothner <bothner@cygnus.com>
See Also:
ParseException
public ParseException(java.lang.String s, int offset)
This method initializes a new instance of ParseException
with a detailed error message and a error position.
Parameters:
getErrorOffset
public int getErrorOffset()
This method returns the position where the error occurred.
Returns:
- the position where the error occurred