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