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
public class InputMismatchException extends RecognitionException
This signifies any kind of mismatched input exceptions such as when the current input does not match the expected token.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputMismatchException(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 Detail
-
InputMismatchException
public InputMismatchException(Parser recognizer)
-
InputMismatchException
public InputMismatchException(Parser recognizer, int state, ParserRuleContext ctx)
-
-