antlr
Class MismatchedCharException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--antlr.ANTLRException
|
+--antlr.RecognitionException
|
+--antlr.MismatchedCharException
- All Implemented Interfaces:
- java.io.Serializable
- public class MismatchedCharException
- extends RecognitionException
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
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)
|
MismatchedCharException(java.lang.String s,
int line)
MismatchedCharException constructor comment. |
Method Summary |
java.lang.String |
getMessage()
Returns the error message that happened on the line/col given. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 char 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)
MismatchedCharException
public MismatchedCharException(java.lang.String s,
int line)
- MismatchedCharException constructor comment.
- Parameters:
s
- java.lang.String
getMessage
public java.lang.String getMessage()
- Returns the error message that happened on the line/col given.
Copied from toString().
- Overrides:
getMessage
in class java.lang.Throwable