|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pig.PigException
org.apache.pig.backend.BackendException
org.apache.pig.backend.executionengine.ExecException
public class ExecException
Field Summary |
---|
Fields inherited from class org.apache.pig.PigException |
---|
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, USER_ENVIRONMENT |
Constructor Summary | |
---|---|
ExecException()
Create a new ExecException with null as the error message. |
|
ExecException(String message)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode,
boolean retry)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode,
byte errSrc)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode,
byte errSrc,
boolean retry)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode,
byte errSrc,
boolean retry,
String detailedMsg)
Create a new ExecException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause. |
|
ExecException(String message,
int errCode,
byte errSrc,
boolean retry,
String detailedMsg,
Throwable cause)
Create a new ExecException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause. |
|
ExecException(String message,
int errCode,
byte errSrc,
Throwable cause)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
int errCode,
Throwable cause)
Create a new ExecException with the specified message and cause. |
|
ExecException(String message,
Throwable cause)
Create a new ExecException with the specified message and cause. |
|
ExecException(Throwable cause)
Create a new ExecException with the specified cause. |
Method Summary |
---|
Methods inherited from class org.apache.pig.PigException |
---|
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable, toString |
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 |
---|
public ExecException()
public ExecException(String message)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the userpublic ExecException(Throwable cause)
cause
- - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.public ExecException(String message, Throwable cause)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usercause
- - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.public ExecException(String message, int errCode)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the userpublic ExecException(String message, int errCode, Throwable cause)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usercause
- - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.public ExecException(String message, int errCode, byte errSrc)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usererrSrc
- - The error sourcepublic ExecException(String message, int errCode, byte errSrc, Throwable cause)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usererrSrc
- - The error sourcecause
- - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.public ExecException(String message, int errCode, boolean retry)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the userretry
- - If the exception is retriable or notpublic ExecException(String message, int errCode, byte errSrc, boolean retry)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usererrSrc
- - The error sourceretry
- - If the exception is retriable or notpublic ExecException(String message, int errCode, byte errSrc, boolean retry, String detailedMsg)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usererrSrc
- - The error sourceretry
- - If the exception is retriable or notdetailedMsg
- - The detailed message shown to the developerpublic ExecException(String message, int errCode, byte errSrc, boolean retry, String detailedMsg, Throwable cause)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the usererrCode
- - The error code shown to the usererrSrc
- - The error sourceretry
- - If the exception is retriable or notdetailedMsg
- - The detailed message shown to the developercause
- - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |