org.apache.pig.parser
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.pig.PigException
                  extended by org.apache.pig.impl.logicalLayer.FrontendException
                      extended by org.apache.pig.parser.ParserException
All Implemented Interfaces:
Serializable

public class ParserException
extends FrontendException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.PigException
BUG, detailedMessage, ERROR, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, sourceLocation, USER_ENVIRONMENT
 
Constructor Summary
ParserException(org.antlr.runtime.RecognitionException recoException)
           
ParserException(String msg)
           
ParserException(String msg, SourceLocation location)
           
ParserException(String msg, Throwable cause)
           
 
Method Summary
 String toString()
          Returns a short description of this throwable.
 
Methods inherited from class org.apache.pig.PigException
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, getSourceLocation, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable, setSourceLocation
 
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
 

Constructor Detail

ParserException

public ParserException(org.antlr.runtime.RecognitionException recoException)

ParserException

public ParserException(String msg)

ParserException

public ParserException(String msg,
                       SourceLocation location)

ParserException

public ParserException(String msg,
                       Throwable cause)
Method Detail

toString

public String toString()
Description copied from class: PigException
Returns a short description of this throwable. The result is the concatenation of: If getLocalizedMessage returns null, then just the class name is returned.

Overrides:
toString in class PigException
Returns:
a string representation of this throwable.


Copyright © 2007-2012 The Apache Software Foundation