Package com.graphbuilder.math
Class ExpressionParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.graphbuilder.math.ExpressionParseException
- All Implemented Interfaces:
Serializable
Exception thrown if expression cannot be parsed correctly.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ExpressionParseException
-
-
Method Details
-
getDescription
Returns the description that explains why the exception was thrown. -
getIndex
public int getIndex()Returns an index value into the expression string. Note, the index value may be less than zero or greater then the length of the expression string. -
toString
Returns a string formatted such as "(index) description".
-