public class ExpressionException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected String |
expressionString |
protected int |
position |
Constructor and Description |
---|
ExpressionException(int position,
String message)
Creates a new expression exception.
|
ExpressionException(int position,
String message,
Throwable cause)
Creates a new expression exception.
|
ExpressionException(String message)
Creates a new expression exception.
|
ExpressionException(String expressionString,
int position,
String message)
Creates a new expression exception.
|
ExpressionException(String expressionString,
String message)
Creates a new expression exception.
|
ExpressionException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getExpressionString() |
int |
getPosition() |
String |
toDetailedString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected String expressionString
protected int position
public ExpressionException(String expressionString, String message)
expressionString
- the expression stringmessage
- a descriptive messagepublic ExpressionException(String expressionString, int position, String message)
expressionString
- the expression stringposition
- the position in the expression string where the problem occurredmessage
- a descriptive messagepublic ExpressionException(int position, String message)
position
- the position in the expression string where the problem occurredmessage
- a descriptive messagepublic ExpressionException(int position, String message, Throwable cause)
position
- the position in the expression string where the problem occurredmessage
- a descriptive messagecause
- the underlying cause of this exceptionpublic ExpressionException(String message)
message
- a descriptive message