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()  | 
String | 
getMessage()
Return the exception message. 
 | 
int | 
getPosition()  | 
String | 
getSimpleMessage()
Return the exception simple message without including the expression that caused
 the failure. 
 | 
String | 
toDetailedString()  | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected 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 messagepublic String getMessage()
toDetailedString().getMessage in class ThrowableThrowable.getMessage()public String getSimpleMessage()
public String toDetailedString()
public final String getExpressionString()
public final int getPosition()