Package org.antlr.v4.runtime
Class InputMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.InputMismatchException
- All Implemented Interfaces:
Serializable
This signifies any kind of mismatched input exceptions such as
when the current input does not match the expected token.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInputMismatchException
(Parser recognizer) InputMismatchException
(Parser recognizer, int state, ParserRuleContext ctx) -
Method Summary
Methods inherited from class org.antlr.v4.runtime.RecognitionException
getCtx, getExpectedTokens, getInputStream, getOffendingState, getOffendingToken, getRecognizer, setOffendingState, setOffendingToken
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InputMismatchException
-
InputMismatchException
-