at.dms.compiler.antlr.runtime
Class NoViableAltException
java.lang.Object
java.lang.Throwable
java.lang.Exception
at.dms.compiler.antlr.runtime.ANTLRException
at.dms.compiler.antlr.runtime.ParserException
at.dms.compiler.antlr.runtime.RecognitionException
at.dms.compiler.antlr.runtime.NoViableAltException
- All Implemented Interfaces:
- Serializable
public class NoViableAltException
- extends RecognitionException
- See Also:
- Serialized Form
Method Summary |
String |
getMessage()
Returns a clean error message (no line number/column information) |
String |
toString()
Returns a string representation of this exception. |
token
public Token token
NoViableAltException
public NoViableAltException(Token t,
String fileName)
getMessage
public String getMessage()
- Returns a clean error message (no line number/column information)
- Overrides:
getMessage
in class Throwable
toString
public String toString()
- Returns a string representation of this exception.
- Overrides:
toString
in class RecognitionException