public class ParsingError extends RuntimeException
Constructor and Description |
---|
ParsingError(String message,
int line,
int col)
Constructor taking the message and location of the problem.
|
ParsingError(String message,
int line,
int col,
Throwable cause)
Constructor taking the message, the location, and a cause of the original problem.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Provides the column where the problem occurred.
|
String |
getFailure()
Provides the original failure message.
|
int |
getLine()
Provides the line where the problem occurred.
|
String |
getMessage()
Provides the error message.
|
void |
setMessage(String value)
Sets the error output message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParsingError(String message, int line, int col)
message
- The error message.line
- The line.col
- The column.public String getFailure()
public void setMessage(String value)
value
- The message.public String getMessage()
getMessage
in class Throwable
public final int getLine()
public final int getColumn()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210