public class ProcessRequestException extends Exception
Constructor and Description |
---|
ProcessRequestException(String message,
int errorCode)
Construct with specified message and error code.
|
ProcessRequestException(String message,
int errorCode,
Throwable cause)
Construct with specified message, error code, and cause.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code (or known as command_status).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProcessRequestException(String message, int errorCode)
message
- is the detail message.errorCode
- is the error code (or known as command_status).