public class FrontendException extends PigException
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, sourceLocation, USER_ENVIRONMENT
Constructor and Description |
---|
FrontendException()
Create a new FrontendException with null as the error message.
|
FrontendException(Operator op,
java.lang.String message)
Create a new FrontendException with the specified message and cause.
|
FrontendException(Operator op,
java.lang.String message,
int errCode)
Create a new FrontendException with the specified message and cause.
|
FrontendException(Operator op,
java.lang.String message,
int errCode,
byte errSrc)
Create a new FrontendException with the specified message and cause.
|
FrontendException(Operator op,
java.lang.String message,
int errCode,
byte errSrc,
boolean retry,
java.lang.String detailedMsg,
java.lang.Throwable cause)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
|
FrontendException(Operator op,
java.lang.String message,
int errCode,
byte errSrc,
java.lang.Throwable cause)
Create a new FrontendException with the specified message and cause.
|
FrontendException(Operator op,
java.lang.String message,
int errCode,
java.lang.Throwable cause)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
boolean retry)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc,
boolean retry)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc,
boolean retry,
java.lang.String detailedMsg)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc,
boolean retry,
java.lang.String detailedMsg,
java.lang.Throwable cause)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc,
java.lang.Throwable cause)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
byte errSrc,
java.lang.Throwable cause,
SourceLocation location)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
SourceLocation location)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
int errCode,
java.lang.Throwable cause)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.String message,
java.lang.Throwable cause)
Create a new FrontendException with the specified message and cause.
|
FrontendException(java.lang.Throwable cause)
Create a new FrontendException with the specified cause.
|
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, getSourceLocation, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable, setSourceLocation, toString
public FrontendException()
public FrontendException(java.lang.String message)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the userpublic FrontendException(java.lang.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 FrontendException(java.lang.String message, java.lang.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 FrontendException(java.lang.String message, int errCode, SourceLocation location)
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 userlocation
- - The location of the exception.public FrontendException(java.lang.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 FrontendException(java.lang.String message, int errCode, java.lang.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 FrontendException(java.lang.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 FrontendException(java.lang.String message, int errCode, byte errSrc, java.lang.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 FrontendException(java.lang.String message, int errCode, byte errSrc, java.lang.Throwable cause, SourceLocation location)
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.location
- - The location of the exception.public FrontendException(java.lang.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 FrontendException(java.lang.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 FrontendException(java.lang.String message, int errCode, byte errSrc, boolean retry, java.lang.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 FrontendException(java.lang.String message, int errCode, byte errSrc, boolean retry, java.lang.String detailedMsg, java.lang.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.public FrontendException(Operator op, java.lang.String message)
op
- - logical operator where the exception occursmessage
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the userpublic FrontendException(Operator op, java.lang.String message, int errCode)
op
- - logical operator where the exception occursmessage
- - 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 FrontendException(Operator op, java.lang.String message, int errCode, byte errSrc)
op
- - logical operator where the exception occursmessage
- - 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 FrontendException(Operator op, java.lang.String message, int errCode, byte errSrc, java.lang.Throwable cause)
op
- - logical operator where the exception occursmessage
- - 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 FrontendException(Operator op, java.lang.String message, int errCode, java.lang.Throwable cause)
op
- - logical operator where the exception occursmessage
- - 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 FrontendException(Operator op, java.lang.String message, int errCode, byte errSrc, boolean retry, java.lang.String detailedMsg, java.lang.Throwable cause)
op
- - logical operator where the exception occursmessage
- - 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.Copyright © 2007-2012 The Apache Software Foundation