public class ProcessRequestException
extends java.lang.Exception
Constructor and Description |
---|
ProcessRequestException(java.lang.String message,
int errorCode)
Construct with specified message and error code.
|
ProcessRequestException(java.lang.String message,
int errorCode,
java.lang.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).
|
public ProcessRequestException(java.lang.String message, int errorCode)
message
- is the detail message.errorCode
- is the error code (or known as command_status).public ProcessRequestException(java.lang.String message, int errorCode, java.lang.Throwable cause)
message
- is the detail message.errorCode
- is the error code (or known as command_status).cause
- is the parent cause.