public class InterpreterException extends RuntimeException
Interpreter interface implementation.| Constructor and Description |
|---|
InterpreterException(Exception exception,
String message,
int lineno,
int columnno)
Builds an instance of
InterpreterException. |
InterpreterException(String message,
int lineno,
int columnno)
Builds an instance of
InterpreterException. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Returns the column number where the error occurs.
|
Exception |
getException()
Returns the embedded exception.
|
int |
getLineNumber()
Returns the line number where the error occurs.
|
String |
getMessage()
Returns the message of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InterpreterException(String message, int lineno, int columnno)
InterpreterException.message - the Exception message.lineno - the number of the line the error occurs.columnno - the number of the column the error occurs.public InterpreterException(Exception exception, String message, int lineno, int columnno)
InterpreterException.exception - the embedded exception.message - the Exception message.lineno - the number of the line the error occurs.columnno - the number of the column the error occurs.public int getLineNumber()
public int getColumnNumber()
public Exception getException()
public String getMessage()
getMessage in class ThrowableCopyright © 2000–2017 Apache Software Foundation. All rights reserved.