Top Description Fields Constructors Methods
org.antlr.v4.runtime

public Class InputMismatchException

extends RecognitionException
Class Inheritance
Imports
org.antlr.v4.runtime.misc.NotNull

This signifies any kind of mismatched input exceptions such as when the current input does not match the expected token.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
InputMismatchException(Parser recognizer, int state, ParserRuleContext ctx)

Method Summary

Inherited from org.antlr.v4.runtime.RecognitionException:
getContextgetExpectedTokensgetInputStreamgetOffendingStategetOffendingTokengetOffendingTokengetRecognizersetOffendingStatesetOffendingToken

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.antlr.v4.runtime.RecognitionException.serialVersionUID.

Constructor Detail

InputMismatchExceptionback to summary
public InputMismatchException(Parser recognizer)
InputMismatchExceptionback to summary
public InputMismatchException(Parser recognizer, int state, ParserRuleContext ctx)