public static enum Constants.EncryptionErrorType extends java.lang.Enum<Constants.EncryptionErrorType>
| Enum Constant and Description |
|---|
ENCRYPTION_ERROR_DECRYPTION_FAILURE
1: Decryption failed.
|
ENCRYPTION_ERROR_ENCRYPTION_FAILURE
2: Encryption failed.
|
ENCRYPTION_ERROR_INTERNAL_FAILURE
0: Internal error.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.EncryptionErrorType |
fromInt(int value)
Converts an integer value to its corresponding EncryptionErrorType enum
constant.
|
int |
getValue()
Gets the integer value of the encryption error type.
|
static Constants.EncryptionErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.EncryptionErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.EncryptionErrorType ENCRYPTION_ERROR_INTERNAL_FAILURE
public static final Constants.EncryptionErrorType ENCRYPTION_ERROR_DECRYPTION_FAILURE
public static final Constants.EncryptionErrorType ENCRYPTION_ERROR_ENCRYPTION_FAILURE
public static Constants.EncryptionErrorType[] values()
for (Constants.EncryptionErrorType c : Constants.EncryptionErrorType.values()) System.out.println(c);
public static Constants.EncryptionErrorType 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 nullpublic int getValue()
public static Constants.EncryptionErrorType fromInt(int value)
value - The integer value.