antlr
Class NoViableAltForCharException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.RecognitionException
                          |
                          +--antlr.NoViableAltForCharException
All Implemented Interfaces:
java.io.Serializable

public class NoViableAltForCharException
extends RecognitionException

See Also:
Serialized Form

Field Summary
 char foundChar
           
 
Fields inherited from class antlr.RecognitionException
column, fileName, line, tokenName
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoViableAltForCharException(char c, CharScanner scanner)
           
NoViableAltForCharException(char c, java.lang.String fileName, int line)
           
NoViableAltForCharException(char c, java.lang.String fileName, int line, int column)
           
 
Method Summary
 java.lang.String getErrorMessage()
          Deprecated. As of ANTLR 2.7.0
 java.lang.String getMessage()
          Returns a clean error message (no line number/column information)
 
Methods inherited from class antlr.RecognitionException
getColumn, 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

foundChar

public char foundChar
Constructor Detail

NoViableAltForCharException

public NoViableAltForCharException(char c,
                                   CharScanner scanner)

NoViableAltForCharException

public NoViableAltForCharException(char c,
                                   java.lang.String fileName,
                                   int line)

NoViableAltForCharException

public NoViableAltForCharException(char c,
                                   java.lang.String fileName,
                                   int line,
                                   int column)
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Deprecated. As of ANTLR 2.7.0

Overrides:
getErrorMessage in class RecognitionException

getMessage

public java.lang.String getMessage()
Returns a clean error message (no line number/column information)

Overrides:
getMessage in class java.lang.Throwable