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

Field Summary
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
           
 
Fields inherited from class antlr.RecognitionException
column, fileName, line
 
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)
 
Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine, toString
 
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
 

Field Detail

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
Constructor Detail

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_)
Method Detail

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.