Package de.odysseus.el.tree
Class TreeBuilderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.el.ELException
-
- de.odysseus.el.tree.TreeBuilderException
-
- All Implemented Interfaces:
java.io.Serializable
public class TreeBuilderException extends javax.el.ELException
Exception type thrown in build phase (scan/parse).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
encountered
private java.lang.String
expected
private java.lang.String
expression
private int
position
private static long
serialVersionUID
-
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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
expression
private final java.lang.String expression
-
position
private final int position
-
encountered
private final java.lang.String encountered
-
expected
private final java.lang.String expected
-
-
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
-
-