public enum KeyCreationExceptionCause extends java.lang.Enum<KeyCreationExceptionCause>
KeyCreationException to specify the cause of the exception.| Enum Constant and Description |
|---|
KEY_AVAILABILITY_NOT_MET
The created key could not be replicated to the minimum number of HSMs in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyCreationExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyCreationExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyCreationExceptionCause KEY_AVAILABILITY_NOT_MET
Resolution: Verify the number of HSMs in the cluster or set the key-availability-check option with the CloudHSM configure tool.
public static KeyCreationExceptionCause[] values()
for (KeyCreationExceptionCause c : KeyCreationExceptionCause.values()) System.out.println(c);
public static KeyCreationExceptionCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null