org.apache.pig.parser
Class ParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pig.PigException
org.apache.pig.impl.logicalLayer.FrontendException
org.apache.pig.parser.ParserException
- All Implemented Interfaces:
- Serializable
public class ParserException
- extends FrontendException
- See Also:
- Serialized Form
Method Summary |
String |
toString()
Returns a short description of this throwable. |
Methods inherited from class org.apache.pig.PigException |
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable |
ParserException
public ParserException(org.antlr.runtime.RecognitionException recoException)
ParserException
public ParserException(String msg)
ParserException
public ParserException(String msg,
Throwable cause)
toString
public String toString()
- Description copied from class:
PigException
- Returns a short description of this throwable.
The result is the concatenation of:
- the name of the class of this object
- ": " (a colon and a space)
- "ERROR " (the string ERROR followed by a a space)
- the result of invoking this object's
PigException.getErrorCode()
method
- ": " (a colon and a space)
- the result of invoking
getLocalizedMessage
method
If getLocalizedMessage returns null, then just
the class name is returned.
- Overrides:
toString
in class PigException
- Returns:
- a string representation of this throwable.
Copyright © 2012 The Apache Software Foundation