The ParseException class contains the following constructors:
ParseException()
ParseException(String s)
ParseException(String s, int line, int column, Object owner)
Constructs a ParseException exception with no detail message.
public ParseException();
Constructs a ParseException exception with a specified message.
public ParseException(String s);
s | The detail message. |
Constructs a ParseException exception with detail about what occurred.
public ParseException(String s, int line, int column, Object owner);
s | The detail message. |
line | The line number of the input where the error was found. |
column | The position on the line. |
owner | The context in which the error was encountered. This is either an Entity object or a Parser object. |