|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
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 java.lang.String |
expressionString
|
protected int |
position
|
Constructor Summary | |
---|---|
ExpressionException(int position,
java.lang.String message)
Creates a new expression exception. |
|
ExpressionException(int position,
java.lang.String message,
java.lang.Throwable cause)
Creates a new expression exception. |
|
ExpressionException(java.lang.String message)
Creates a new expression exception. |
|
ExpressionException(java.lang.String expressionString,
int position,
java.lang.String message)
Creates a new expression exception. |
|
ExpressionException(java.lang.String expressionString,
java.lang.String message)
Creates a new expression exception. |
|
ExpressionException(java.lang.String message,
java.lang.Throwable cause)
|
Method Summary | |
---|---|
java.lang.String |
getExpressionString()
|
int |
getPosition()
|
java.lang.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 java.lang.String expressionString
protected int position
Constructor Detail |
---|
public ExpressionException(java.lang.String expressionString, java.lang.String message)
expressionString
- the expression stringmessage
- a descriptive messagepublic ExpressionException(java.lang.String expressionString, int position, java.lang.String message)
expressionString
- the expression stringposition
- the position in the expression string where the problem occurredmessage
- a descriptive messagepublic ExpressionException(int position, java.lang.String message)
position
- the position in the expression string where the problem occurredmessage
- a descriptive messagepublic ExpressionException(int position, java.lang.String message, java.lang.Throwable cause)
position
- the position in the expression string where the problem occurredmessage
- a descriptive messagecause
- the underlying cause of this exceptionpublic ExpressionException(java.lang.String message)
message
- a descriptive messagepublic ExpressionException(java.lang.String message, java.lang.Throwable cause)
Method Detail |
---|
public java.lang.String toDetailedString()
public final java.lang.String getExpressionString()
public final int getPosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |