public class MismatchedCharException extends RecognitionException
Modifier and Type | Field and Description |
---|---|
static int |
CHAR |
int |
expecting |
int |
foundChar |
int |
mismatchType |
static int |
NOT_CHAR |
static int |
NOT_RANGE |
static int |
NOT_SET |
static int |
RANGE |
CharScanner |
scanner |
BitSet |
set |
static int |
SET |
int |
upper |
column, fileName, line
Constructor and Description |
---|
MismatchedCharException()
MismatchedCharException constructor comment.
|
MismatchedCharException(char c,
BitSet set_,
boolean matchNot,
CharScanner scanner_) |
MismatchedCharException(char c,
char expecting_,
boolean matchNot,
CharScanner scanner_) |
MismatchedCharException(char c,
char lower,
char upper_,
boolean matchNot,
CharScanner scanner_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns a clean error message (no line number/column information)
|
getColumn, getErrorMessage, getFilename, getLine, toString
public static final int CHAR
public static final int NOT_CHAR
public static final int RANGE
public static final int NOT_RANGE
public static final int SET
public static final int NOT_SET
public int mismatchType
public int foundChar
public int expecting
public int upper
public BitSet set
public CharScanner scanner
public MismatchedCharException()
public MismatchedCharException(char c, char lower, char upper_, boolean matchNot, CharScanner scanner_)
public MismatchedCharException(char c, char expecting_, boolean matchNot, CharScanner scanner_)
public MismatchedCharException(char c, BitSet set_, boolean matchNot, CharScanner scanner_)