antlr
Class NoViableAltException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byantlr.ANTLRException
              extended byantlr.RecognitionException
                  extended byantlr.NoViableAltException
All Implemented Interfaces:
java.io.Serializable

public class NoViableAltException
extends RecognitionException

See Also:
Serialized Form

Field Summary
 AST node
           
 Token token
           
 
Fields inherited from class antlr.RecognitionException
column, fileName, line
 
Constructor Summary
NoViableAltException(AST t)
           
NoViableAltException(Token t, java.lang.String fileName_)
           
 
Method Summary
 java.lang.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

token

public Token token

node

public AST node
Constructor Detail

NoViableAltException

public NoViableAltException(AST t)

NoViableAltException

public NoViableAltException(Token t,
                            java.lang.String fileName_)
Method Detail

getMessage

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