Package antlr
Class NoViableAltForCharException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- antlr.ANTLRException
-
- antlr.RecognitionException
-
- antlr.NoViableAltForCharException
-
- All Implemented Interfaces:
Serializable
public class NoViableAltForCharException extends RecognitionException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description char
foundChar
-
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
-
Constructor Summary
Constructors Constructor Description NoViableAltForCharException(char c, CharScanner scanner)
NoViableAltForCharException(char c, String fileName, int line)
Deprecated.As of ANTLR 2.7.2 use {@see #NoViableAltForCharException(char, String, int, int) }NoViableAltForCharException(char c, String fileName, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NoViableAltForCharException
public NoViableAltForCharException(char c, CharScanner scanner)
-
NoViableAltForCharException
public NoViableAltForCharException(char c, String fileName, int line)
Deprecated.As of ANTLR 2.7.2 use {@see #NoViableAltForCharException(char, String, int, int) }
-
NoViableAltForCharException
public NoViableAltForCharException(char c, String fileName, int line, int column)
-
-
Method Detail
-
getMessage
public String getMessage()
Returns a clean error message (no line number/column information)- Overrides:
getMessage
in classThrowable
-
-