org.springframework.binding.expression
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.binding.expression.ParserException
All Implemented Interfaces:
Serializable

public class ParserException
extends RuntimeException

Base class for exceptions thrown during expression parsing.

Author:
Keith Donald
See Also:
Serialized Form

Constructor Summary
ParserException(String expressionString, String message, Throwable cause)
          Creates a new expression parsing exception.
ParserException(String expressionString, Throwable cause)
          Creates a new expression parsing exception.
 
Method Summary
 Object getExpressionString()
          Returns the expression string that could not be parsed.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserException

public ParserException(String expressionString,
                       Throwable cause)
Creates a new expression parsing exception.

Parameters:
expressionString - the expression string that could not be parsed
cause - the underlying cause of this exception

ParserException

public ParserException(String expressionString,
                       String message,
                       Throwable cause)
Creates a new expression parsing exception.

Parameters:
expressionString - the expression string that could not be parsed
message - a descriptive message
cause - the underlying cause of this exception
Method Detail

getExpressionString

public Object getExpressionString()
Returns the expression string that could not be parsed.