public class CustomProviderException
extends java.lang.Exception
| Constructor and Description |
|---|
CustomProviderException(ResultCode resultCode)
Creates a new instance of this class with the specified result code.
|
CustomProviderException(ResultCode resultCode,
Message message)
Creates a new instance of this class with the specified result code and
message.
|
CustomProviderException(ResultCode resultCode,
Message message,
java.lang.Throwable cause)
Creates a new instance of this class with the specified result code,
message and root cause.
|
CustomProviderException(ResultCode resultCode,
java.lang.Throwable cause)
Creates a new instance of this class with the specified result code and
root cause.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
getMessageObject()
Returns the Message contained in that exception.
|
ResultCode |
getResultCode()
Returns the ResultCode contained in that exception.
|
public CustomProviderException(ResultCode resultCode)
resultCode - the result code of this exception.public CustomProviderException(ResultCode resultCode, Message message)
message - the description of the cause of this exception.resultCode - the result code of this exception.public CustomProviderException(ResultCode resultCode, java.lang.Throwable cause)
cause - the root cause of this exception.resultCode - the result code of this exception.public CustomProviderException(ResultCode resultCode, Message message, java.lang.Throwable cause)
message - the description of the cause of this exception.cause - the root cause of this exception.resultCode - the result code of this exception.public Message getMessageObject()
public ResultCode getResultCode()