Package fluent.syntax.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fluent.syntax.parser.ParseException
- All Implemented Interfaces:
Serializable
Exceptions encountered during parsing.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ParseException error codes. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
errorCode
The error code of the Exception -
line
public int line()Line of input on which the error occurred. The first line is '1' (like a text editor).NOTE: This can be '0' if the error occurred at the end of file (EOF)
-
isEOF
public boolean isEOF()True if error occurred at EOF -
getMessage
- Overrides:
getMessage
in classThrowable
-