public static enum Constants.Error extends Enum<Constants.Error>
| Enum Constant and Description |
|---|
CIPHER_INIT_ERROR_MESSAGE |
GET_KEY_ERROR_MESSAGE |
INVALID_JSON |
INVALID_SECRET_ERROR_MESSAGE |
JSON_VALUE_NOT_FOUND |
PARAMETER_REQUIRED_FOR_ROTATE_MODE |
TOML_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage(Object... args) |
static Constants.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Error GET_KEY_ERROR_MESSAGE
public static final Constants.Error CIPHER_INIT_ERROR_MESSAGE
public static final Constants.Error INVALID_SECRET_ERROR_MESSAGE
public static final Constants.Error JSON_VALUE_NOT_FOUND
public static final Constants.Error TOML_NOT_FOUND
public static final Constants.Error PARAMETER_REQUIRED_FOR_ROTATE_MODE
public static final Constants.Error INVALID_JSON
public static Constants.Error[] values()
for (Constants.Error c : Constants.Error.values()) System.out.println(c);
public static Constants.Error valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026 WSO2. All rights reserved.