public class

ExpressionException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.expression.ExpressionException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Super class for exceptions that can occur whilst processing expressions

Summary

Fields
protected String expressionString
protected int position
Public Constructors
ExpressionException(String expressionString, String message)
Creates a new expression exception.
ExpressionException(String expressionString, int position, String message)
Creates a new expression exception.
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 message, Throwable cause)
Public Methods
final String getExpressionString()
final int getPosition()
String toDetailedString()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

protected String expressionString

protected int position

Public Constructors

public ExpressionException (String expressionString, String message)

Creates a new expression exception.

Parameters
expressionString the expression string
message a descriptive message

public ExpressionException (String expressionString, int position, String message)

Creates a new expression exception.

Parameters
expressionString the expression string
position the position in the expression string where the problem occurred
message a descriptive message

public ExpressionException (int position, String message)

Creates a new expression exception.

Parameters
position the position in the expression string where the problem occurred
message a descriptive message

public ExpressionException (int position, String message, Throwable cause)

Creates a new expression exception.

Parameters
position the position in the expression string where the problem occurred
message a descriptive message
cause the underlying cause of this exception

public ExpressionException (String message)

Creates a new expression exception.

Parameters
message a descriptive message

public ExpressionException (String message, Throwable cause)

Public Methods

public final String getExpressionString ()

public final int getPosition ()

public String toDetailedString ()