Class TreeBuilderException

  • All Implemented Interfaces:
    Serializable

    public class TreeBuilderException
    extends ELException
    Exception type thrown in build phase (scan/parse).
    Author:
    Christoph Beck
    See Also:
    Serialized Form
    • Constructor Detail

      • TreeBuilderException

        public TreeBuilderException​(String expression,
                                    int position,
                                    String encountered,
                                    String expected,
                                    String message)
    • Method Detail

      • getExpression

        public String getExpression()
        Returns:
        the expression string
      • getPosition

        public int getPosition()
        Returns:
        the error position
      • getEncountered

        public String getEncountered()
        Returns:
        the substring (or description) that has been encountered
      • getExpected

        public String getExpected()
        Returns:
        the substring (or description) that was expected