| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ExpressionException(String
a descriptive message message, Throwable the underlying cause of this exception cause)Construct a new expression exception. |
| public | ExpressionException(String
the expression string expressionString, String a descriptive message message)Construct a new expression exception. |
| public | ExpressionException(String
the expression string expressionString, int the position in the expression string where the problem occurred position, String a descriptive message message)Construct a new expression exception. |
| public | ExpressionException(int
the position in the expression string where the problem occurred position, String a descriptive message message)Construct a new expression exception. |
| public | ExpressionException(int
the position in the expression string where the problem occurred position, String a descriptive message message, Throwable the underlying cause of this exception cause)Construct a new expression exception. |
| Modifier and Type | Method and Description |
|---|---|
| public final String | |
| public String | |
| public final int | |
| public String | getSimpleMessage()
Return the exception simple message without including the expression that caused the failure. |
| public String | toDetailedString()
Return a detailed description of this exception, including the expression String and position (if available) as well as the actual exception message. |
| expressionString | back to summary |
|---|---|
| protected final String expressionString
| |
| position | back to summary |
|---|---|
| protected int position | |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(String message) Construct a new expression exception.
| |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(String message, Throwable cause) Construct a new expression exception. | |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(String expressionString, String message) Construct a new expression exception. | |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(String expressionString, int position, String message) Construct a new expression exception. | |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(int position, String message) Construct a new expression exception.
| |
| ExpressionException | back to summary |
|---|---|
| public ExpressionException(int position, String message, Throwable cause) Construct a new expression exception. | |
| getExpressionString | back to summary |
|---|---|
| public final String getExpressionString() Return the expression string.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Return the exception message.
As of Spring 4.0, this method returns the same result as
| |
| getPosition | back to summary |
|---|---|
| public final int getPosition() Return the position in the expression string where the problem occurred. | |
| getSimpleMessage | back to summary |
|---|---|
| public String getSimpleMessage() Return the exception simple message without including the expression that caused the failure.
| |
| toDetailedString | back to summary |
|---|---|
| public String toDetailedString() Return a detailed description of this exception, including the expression String and position (if available) as well as the actual exception message. | |