org.apache.pig.impl.streaming
Class StreamingUDFException

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.backend.BackendException
                      extended by org.apache.pig.backend.executionengine.ExecException
                          extended by org.apache.pig.impl.streaming.StreamingUDFException
All Implemented Interfaces:
Serializable

public class StreamingUDFException
extends ExecException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.PigException
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, sourceLocation, USER_ENVIRONMENT
 
Constructor Summary
StreamingUDFException()
           
StreamingUDFException(String message)
           
StreamingUDFException(String message, Integer lineNumber)
           
StreamingUDFException(String language, String message)
           
StreamingUDFException(String language, String message, Integer lineNumber)
           
StreamingUDFException(String language, String message, Throwable cause)
           
 
Method Summary
 String getLanguage()
           
 Integer getLineNumber()
           
 String getMessage()
           
 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, 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

StreamingUDFException

public StreamingUDFException()

StreamingUDFException

public StreamingUDFException(String message)

StreamingUDFException

public StreamingUDFException(String message,
                             Integer lineNumber)

StreamingUDFException

public StreamingUDFException(String language,
                             String message,
                             Throwable cause)

StreamingUDFException

public StreamingUDFException(String language,
                             String message)

StreamingUDFException

public StreamingUDFException(String language,
                             String message,
                             Integer lineNumber)
Method Detail

getLanguage

public String getLanguage()

getLineNumber

public Integer getLineNumber()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

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