antlraux.context
Class ContextException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--antlr.ANTLRException
|
+--antlr.RecognitionException
|
+--antlraux.util.LexInfoException
|
+--antlraux.context.ContextException
- All Implemented Interfaces:
- LexInfo, java.io.Serializable
- Direct Known Subclasses:
- TypeException
- public class ContextException
- extends LexInfoException
- implements LexInfo
This is the exception launched when an error happens
during contextual information treatment. Since it is a subclass of
antlr.RecognitionException, it can be
thrown by methods in a parser or treeparser
with little problems (they have try-catch clauses
for RecognitionException most of the time).
- See Also:
- Serialized Form
Fields inherited from class antlr.RecognitionException |
column, fileName, line |
Methods inherited from class antlr.RecognitionException |
getColumn, getErrorMessage, getFilename, getLine, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContextException
public ContextException()
ContextException
public ContextException(java.lang.String s)
ContextException
public ContextException(java.lang.String s,
java.lang.String fileName,
int line,
int column)
ContextException
public ContextException(java.lang.String s,
LexInfo li)
Created by Enrique José García Cota