org.apache.pig.impl.streaming
Class StreamingUDFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pig.PigException
org.apache.pig.backend.BackendException
org.apache.pig.backend.executionengine.ExecException
org.apache.pig.impl.streaming.StreamingUDFException
- All Implemented Interfaces:
- Serializable
public class StreamingUDFException
- extends ExecException
- See Also:
- Serialized Form
Fields inherited from class org.apache.pig.PigException |
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, sourceLocation, USER_ENVIRONMENT |
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 |
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)
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:
- 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 © 2007-2012 The Apache Software Foundation