org.springframework.expression
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.expression.ExpressionException
org.springframework.expression.ParseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SpelParseException
public class ParseException
- extends ExpressionException
Represent an exception that occurs during expression parsing.
- Since:
- 3.0
- Author:
- Andy Clement
- See Also:
- Serialized Form
|
Constructor Summary |
ParseException(int position,
java.lang.String message)
Creates a new expression parsing exception. |
ParseException(int position,
java.lang.String message,
java.lang.Throwable cause)
Creates a new expression parsing exception. |
ParseException(java.lang.String expressionString,
int position,
java.lang.String message)
Creates a new expression parsing exception. |
| 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 |
ParseException
public ParseException(java.lang.String expressionString,
int position,
java.lang.String message)
- Creates a new expression parsing exception.
- Parameters:
expressionString - the expression string that could not be parsedposition - the position in the expression string where the problem occurredmessage - description of the problem that occurred
ParseException
public ParseException(int position,
java.lang.String message,
java.lang.Throwable cause)
- Creates a new expression parsing exception.
- Parameters:
position - the position in the expression string where the problem occurredmessage - description of the problem that occurredcause - the underlying cause of this exception
ParseException
public ParseException(int position,
java.lang.String message)
- Creates a new expression parsing exception.
- Parameters:
position - the position in the expression string where the problem occurredmessage - description of the problem that occurred