antlr
Class MismatchedCharException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--antlr.ANTLRException
|
+--antlr.RecognitionException
|
+--antlr.MismatchedCharException
- All Implemented Interfaces:
- Serializable
- public class MismatchedCharException
- extends RecognitionException
- See Also:
- Serialized Form
Constructor Summary |
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_)
|
Method Summary |
String |
getMessage()
Returns a clean error message (no line number/column information) |
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
NOT_CHAR
public static final int NOT_CHAR
- See Also:
- Constant Field Values
RANGE
public static final int RANGE
- See Also:
- Constant Field Values
NOT_RANGE
public static final int NOT_RANGE
- See Also:
- Constant Field Values
SET
public static final int SET
- See Also:
- Constant Field Values
NOT_SET
public static final int NOT_SET
- See Also:
- Constant Field Values
mismatchType
public int mismatchType
foundChar
public int foundChar
expecting
public int expecting
upper
public int upper
set
public BitSet set
scanner
public CharScanner scanner
MismatchedCharException
public MismatchedCharException()
- MismatchedCharException constructor comment.
MismatchedCharException
public MismatchedCharException(char c,
char lower,
char upper_,
boolean matchNot,
CharScanner scanner_)
MismatchedCharException
public MismatchedCharException(char c,
char expecting_,
boolean matchNot,
CharScanner scanner_)
MismatchedCharException
public MismatchedCharException(char c,
BitSet set_,
boolean matchNot,
CharScanner scanner_)
getMessage
public String getMessage()
- Returns a clean error message (no line number/column information)
- Overrides:
getMessage
in class Throwable
Copyright © 1999-2003 Oliver Zeigermann. All Rights Reserved.