public class ParserException extends ProjogException
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the index in the line being parsed of the character being parsed when the problem occurred.
|
void |
getDescription(PrintStream out)
Prints a description of this exception to the specified print stream.
|
String |
getLine()
Returns the contents of the line being parsed when the problem occurred.
|
int |
getLineNumber()
Returns the line number of the line being parsed when the problem occurred.
|
addClause, getClauses
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getLine()
public int getLineNumber()
public int getColumnNumber()
public void getDescription(PrintStream out)
The description contains the particular line being parsed when the exception was thrown.
out
- PrintStream
to use for outputCopyright © 2024. All rights reserved.