Package antlr
Class MismatchedCharException
java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
antlr.MismatchedCharException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
int
int
int
static final int
static final int
static final int
static final int
static final int
int
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
Constructor Summary
ConstructorsConstructorDescriptionMismatchedCharException constructor comment.MismatchedCharException
(char c, char expecting_, boolean matchNot, CharScanner scanner_) MismatchedCharException
(char c, char lower, char upper_, boolean matchNot, CharScanner scanner_) MismatchedCharException
(char c, BitSet set_, boolean matchNot, CharScanner scanner_) -
Method Summary
Modifier and TypeMethodDescriptionReturns a clean error message (no line number/column information)Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
CHAR
public static final int CHAR- See Also:
-
NOT_CHAR
public static final int NOT_CHAR- See Also:
-
RANGE
public static final int RANGE- See Also:
-
NOT_RANGE
public static final int NOT_RANGE- See Also:
-
SET
public static final int SET- See Also:
-
NOT_SET
public static final int NOT_SET- See Also:
-
mismatchType
public int mismatchType -
foundChar
public int foundChar -
expecting
public int expecting -
upper
public int upper -
set
-
scanner
-
-
Constructor Details
-
MismatchedCharException
public MismatchedCharException()MismatchedCharException constructor comment. -
MismatchedCharException
public MismatchedCharException(char c, char lower, char upper_, boolean matchNot, CharScanner scanner_) -
MismatchedCharException
-
MismatchedCharException
-
-
Method Details
-
getMessage
Returns a clean error message (no line number/column information)- Overrides:
getMessage
in classThrowable
-