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