antlr
Class NoViableAltException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.RecognitionException
                          |
                          +--antlr.NoViableAltException
All Implemented Interfaces:
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, String fileName_)
           
 
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

token

public Token token

node

public AST node
Constructor Detail

NoViableAltException

public NoViableAltException(AST t)

NoViableAltException

public NoViableAltException(Token t,
                            String fileName_)
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.