Class MismatchedTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.antlr.runtime.MismatchedTokenException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingTokenException, UnwantedTokenException
A mismatched char or Token or tree node
- See Also:
-
Field Summary
FieldsFields inherited from class RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token -
Constructor Summary
ConstructorsConstructorDescriptionUsed for remote debugger deserializationMismatchedTokenException(int expecting, IntStream input) -
Method Summary
Methods inherited from class RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedTypeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
expecting
public int expecting
-
-
Constructor Details
-
MismatchedTokenException
public MismatchedTokenException()Used for remote debugger deserialization -
MismatchedTokenException
-
-
Method Details
-
toString
-