public class InterpreterException
extends java.lang.RuntimeException
Interpreter interface implementation.| Constructor and Description |
|---|
InterpreterException(java.lang.Exception exception,
java.lang.String message,
int lineno,
int columnno)
Builds an instance of
InterpreterException. |
InterpreterException(java.lang.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.
|
java.lang.Exception |
getException()
Returns the embedded exception.
|
int |
getLineNumber()
Returns the line number where the error occurs.
|
java.lang.String |
getMessage()
Returns the message of this exception.
|
public InterpreterException(java.lang.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(java.lang.Exception exception,
java.lang.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 java.lang.Exception getException()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableCopyright © 2022 Apache Software Foundation. All Rights Reserved.