Class ParseException

All Implemented Interfaces:
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:
  • Constructor Details

    • ParseException

      public ParseException(@Nullable String expressionString, int position, String message)
      Create a new expression parsing exception.
      Parameters:
      expressionString - the expression string that could not be parsed
      position - the position in the expression string where the problem occurred
      message - description of the problem that occurred
    • ParseException

      public ParseException(int position, String message, Throwable cause)
      Create a new expression parsing exception.
      Parameters:
      position - the position in the expression string where the problem occurred
      message - description of the problem that occurred
      cause - the underlying cause of this exception
    • ParseException

      public ParseException(int position, String message)
      Create a new expression parsing exception.
      Parameters:
      position - the position in the expression string where the problem occurred
      message - description of the problem that occurred