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

Untamed:

See Also:
Serialized Form

Field Summary
static int CHAR
          Enabled:
 int expecting
          Enabled:
 char foundChar
          Enabled:
 int mismatchType
          Enabled:
static int NOT_CHAR
          Enabled:
static int NOT_RANGE
          Enabled:
static int NOT_SET
          Enabled:
static int RANGE
          Enabled:
 CharScanner scanner
          Enabled:
 BitSet set
          Enabled:
static int SET
          Enabled:
 int upper
          Enabled:
 
Fields inherited from class antlr.RecognitionException
column, fileName, line
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
MismatchedCharException()
          Enabled: MismatchedCharException constructor comment.
MismatchedCharException(char c, BitSet set_, boolean matchNot, CharScanner scanner)
          Enabled:
MismatchedCharException(char c, char expecting_, boolean matchNot, CharScanner scanner)
          Enabled:
MismatchedCharException(char c, char lower, char upper_, boolean matchNot, CharScanner scanner)
          Enabled:
MismatchedCharException(String s, int line)
          Enabled: MismatchedCharException constructor comment.
 
Method Summary
 String getMessage()
          Enabled: Returns the error message that happened on the line/col given.
 
Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine, toString
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHAR

public static final int CHAR
Enabled:


NOT_CHAR

public static final int NOT_CHAR
Enabled:


RANGE

public static final int RANGE
Enabled:


NOT_RANGE

public static final int NOT_RANGE
Enabled:


SET

public static final int SET
Enabled:


NOT_SET

public static final int NOT_SET
Enabled:


mismatchType

public int mismatchType
Enabled:


foundChar

public char foundChar
Enabled:


expecting

public int expecting
Enabled:


upper

public int upper
Enabled:


set

public BitSet set
Enabled:


scanner

public CharScanner scanner
Enabled:

Constructor Detail

MismatchedCharException

public MismatchedCharException()
Enabled: MismatchedCharException constructor comment.


MismatchedCharException

public MismatchedCharException(char c,
                               char lower,
                               char upper_,
                               boolean matchNot,
                               CharScanner scanner)
Enabled:


MismatchedCharException

public MismatchedCharException(char c,
                               char expecting_,
                               boolean matchNot,
                               CharScanner scanner)
Enabled:


MismatchedCharException

public MismatchedCharException(char c,
                               BitSet set_,
                               boolean matchNot,
                               CharScanner scanner)
Enabled:


MismatchedCharException

public MismatchedCharException(String s,
                               int line)
Enabled: MismatchedCharException constructor comment.

Parameters:
s - java.lang.String
Method Detail

getMessage

public String getMessage()
Enabled: Returns the error message that happened on the line/col given. Copied from toString().

Overrides:
getMessage in class Throwable
Returns:
the detail message string of this Throwable instance (which may be null).


comments?