Class TreeBuilderException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      TreeBuilderException​(java.lang.String expression, int position, java.lang.String encountered, java.lang.String expected, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEncountered()  
      java.lang.String getExpected()  
      java.lang.String getExpression()  
      int getPosition()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TreeBuilderException

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

      • getExpression

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

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

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

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