java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
de.grogra.grammar.RecognitionException
- All Implemented Interfaces:
DetailedException
,Disposable
,UserException
,Serializable
,Comparable<RecognitionException>
- Direct Known Subclasses:
LexicalException
,RecognitionExceptionList
,SemanticException
,SyntacticException
public class RecognitionException
extends antlr.RecognitionException
implements UserException, DetailedException, Comparable<RecognitionException>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final long
long
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
final void
static RecognitionException
void
dispose()
int
getDetailedMessage
(boolean html) getDetailedMessage
(int firstLine, int firstColumn, int tabWidth, boolean html) int
getLine()
boolean
isError()
final RecognitionException
set
(antlr.collections.AST node) final RecognitionException
set
(antlr.RecognitionException ex) final RecognitionException
set
(antlr.Token token) final RecognitionException
final RecognitionException
Methods inherited from class antlr.RecognitionException
getErrorMessage, getFilename, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
IS_ERROR
public static final long IS_ERROR- See Also:
-
MIN_UNUSED
public static final long MIN_UNUSED- See Also:
-
warningBits
public long warningBits
-
-
Constructor Details
-
RecognitionException
-
-
Method Details
-
isError
public boolean isError() -
getCategoryDescription
-
complete
-
set
-
set
-
set
-
set
-
set
-
getLine
public int getLine()- Overrides:
getLine
in classantlr.RecognitionException
-
getColumn
public int getColumn()- Overrides:
getColumn
in classantlr.RecognitionException
-
getDetailedMessage
- Specified by:
getDetailedMessage
in interfaceDetailedException
-
getDetailedMessage
-
dispose
public void dispose()- Specified by:
dispose
in interfaceDisposable
-
convert
public static RecognitionException convert(antlr.ANTLRException e, String[] tokenNames) throws IOException - Throws:
IOException
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RecognitionException>
-