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 SummaryConstructors Constructor Description InputMismatchException(Parser recognizer)InputMismatchException(Parser recognizer, int state, ParserRuleContext ctx)
 - 
Method Summary- 
Methods inherited from class org.antlr.v4.runtime.RecognitionExceptiongetCtx, getExpectedTokens, getInputStream, getOffendingState, getOffendingToken, getRecognizer, setOffendingState, setOffendingToken
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
InputMismatchExceptionpublic InputMismatchException(Parser recognizer) 
 - 
InputMismatchExceptionpublic InputMismatchException(Parser recognizer, int state, ParserRuleContext ctx) 
 
- 
 
-