public enum KeymanagerErrorCode extends Enum<KeymanagerErrorCode>
| Enum Constant and Description |
|---|
CERTIFICATE_PROCESSING_ERROR |
INVALID_CONFIG_FILE |
KEYSTORE_PROCESSING_ERROR |
NO_SUCH_ALIAS |
NO_SUCH_SECURITY_PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Function to get error code
|
String |
getErrorMessage()
Function to get the error message
|
static KeymanagerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeymanagerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeymanagerErrorCode INVALID_CONFIG_FILE
public static final KeymanagerErrorCode NO_SUCH_SECURITY_PROVIDER
public static final KeymanagerErrorCode KEYSTORE_PROCESSING_ERROR
public static final KeymanagerErrorCode NO_SUCH_ALIAS
public static final KeymanagerErrorCode CERTIFICATE_PROCESSING_ERROR
public static KeymanagerErrorCode[] values()
for (KeymanagerErrorCode c : KeymanagerErrorCode.values()) System.out.println(c);
public static KeymanagerErrorCode 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 getErrorMessage()
errorMessageCopyright © 2020. All rights reserved.