public class KeyWrapException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
KeyWrapException(KeyWrapExceptionCause cause,
java.lang.String message)
Constructs the KeyWrapException class.
|
KeyWrapException(KeyWrapExceptionCause cause,
java.lang.String message,
java.lang.Throwable e)
Constructs the KeyWrapException class.
|
KeyWrapException(KeyWrapExceptionCause cause,
java.lang.Throwable e)
Constructs the KeyWrapException class.
|
| Modifier and Type | Method and Description |
|---|---|
KeyWrapExceptionCause |
getCloudHsmExceptionCause()
To get the cause of KeyWrapException class.
|
public KeyWrapException(KeyWrapExceptionCause cause, java.lang.String message)
cause - Specify the cause of the exception using KeyWrapExceptionCause enummessage - Specify the exception messagepublic KeyWrapException(KeyWrapExceptionCause cause, java.lang.Throwable e)
cause - Specify the cause of the exception using KeyWrapExceptionCause enume - Specify the cause of the exception using Throwablepublic KeyWrapException(KeyWrapExceptionCause cause, java.lang.String message, java.lang.Throwable e)
cause - Specify the cause of the exception using KeyWrapExceptionCause enummessage - Specify the exception messagee - Specify the cause of the exception using Throwablepublic KeyWrapExceptionCause getCloudHsmExceptionCause()