public enum KeymanagerErrorConstant extends Enum<KeymanagerErrorConstant>
| Enum Constant and Description |
|---|
APPLICATIONID_NOT_VALID |
CRYPTO_EXCEPTION |
DATE_TIME_PARSE_EXCEPTION |
INTERNAL_SERVER_ERROR |
INVALID_REQUEST |
KEY_STORE_EXCEPTION |
NO_SUCH_ALGORITHM_EXCEPTION |
NO_UNIQUE_ALIAS |
VALIDITY_CHECK_FAIL |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getErrorMessage() |
static KeymanagerErrorConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeymanagerErrorConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeymanagerErrorConstant VALIDITY_CHECK_FAIL
public static final KeymanagerErrorConstant APPLICATIONID_NOT_VALID
public static final KeymanagerErrorConstant NO_UNIQUE_ALIAS
public static final KeymanagerErrorConstant NO_SUCH_ALGORITHM_EXCEPTION
public static final KeymanagerErrorConstant INVALID_REQUEST
public static final KeymanagerErrorConstant DATE_TIME_PARSE_EXCEPTION
public static final KeymanagerErrorConstant CRYPTO_EXCEPTION
public static final KeymanagerErrorConstant KEY_STORE_EXCEPTION
public static final KeymanagerErrorConstant INTERNAL_SERVER_ERROR
public static KeymanagerErrorConstant[] values()
for (KeymanagerErrorConstant c : KeymanagerErrorConstant.values()) System.out.println(c);
public static KeymanagerErrorConstant 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 nullpublic String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.