public class VisitorException extends FrontendException
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, sourceLocation, USER_ENVIRONMENT
Constructor and Description |
---|
VisitorException()
Create a new VisitorException with null as the error message.
|
VisitorException(Operator op,
String message)
Create a new VisitorException with the specified message and cause.
|
VisitorException(Operator op,
String message,
int errCode)
Create a new VisitorException with the specified message and cause.
|
VisitorException(Operator op,
String message,
int errCode,
byte errSrc)
Create a new VisitorException with the specified message and cause.
|
VisitorException(Operator op,
String message,
int errCode,
byte errSrc,
Throwable cause)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode,
boolean retry)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode,
byte errSrc)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode,
byte errSrc,
boolean retry)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode,
byte errSrc,
boolean retry,
String detailedMsg)
Create a new VisitorException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
|
VisitorException(String message,
int errCode,
byte errSrc,
boolean retry,
String detailedMsg,
Throwable cause)
Create a new VisitorException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
|
VisitorException(String message,
int errCode,
byte errSrc,
Throwable cause)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
int errCode,
Throwable cause)
Create a new VisitorException with the specified message and cause.
|
VisitorException(String message,
Throwable cause)
Create a new VisitorException with the specified message and cause.
|
VisitorException(Throwable cause)
Create a new VisitorException with the specified cause.
|
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, getSourceLocation, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable, setSourceLocation, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public VisitorException()
public VisitorException(String message)
message
- - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the userpublic VisitorException(Operator op, 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 VisitorException(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 VisitorException(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 VisitorException(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 VisitorException(Operator op, 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 VisitorException(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 VisitorException(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 VisitorException(Operator op, 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 VisitorException(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 VisitorException(Operator op, String message, int errCode, byte errSrc, 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 VisitorException(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 VisitorException(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 VisitorException(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 VisitorException(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.Copyright © 2007-2017 The Apache Software Foundation