|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.expression.ExpressionException
public class ExpressionException
Super class for exceptions that can occur whilst processing expressions
Field Summary | |
---|---|
protected String |
expressionString
|
protected int |
position
|
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
String |
getExpressionString()
|
int |
getPosition()
|
String |
toDetailedString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String expressionString
protected int position
Constructor Detail |
---|
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 ExpressionException(String message, Throwable cause)
Method Detail |
---|
public String toDetailedString()
public final String getExpressionString()
public final int getPosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |