|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.apache.pig.parser.PigRecognitionException
public abstract class PigRecognitionException
Subclass of Antlr RecognitionException which should be the parent class of all parser related exception classes. We need this layer because of the line number problem in tree parser in Antlr-3.2. You will need a token where the exception occurs in order to instantiate an instance of this class.
Field Summary |
---|
Fields inherited from class org.antlr.runtime.RecognitionException |
---|
approximateLineInfo, c, charPositionInLine, index, input, line, node, token |
Constructor Summary | |
---|---|
PigRecognitionException(org.antlr.runtime.IntStream input,
SourceLocation loc)
|
Method Summary | |
---|---|
protected String |
msgHeader()
|
Methods inherited from class org.antlr.runtime.RecognitionException |
---|
extractInformationFromTreeNodeStream, getUnexpectedType |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PigRecognitionException(org.antlr.runtime.IntStream input, SourceLocation loc)
Method Detail |
---|
protected String msgHeader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |