public enum ErrorDescription extends Enum<ErrorDescription>
| Enum Constant and Description |
|---|
ACCESS_DENIED |
PAGE_NOT_FOUND_404 |
POLICY_ERROR |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription(String... substitutions)
Gets a description that will not be localized.
|
String |
getLocalizationKey()
Gets the key used to resolve the localized error description.
|
static ErrorDescription |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorDescription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorDescription PAGE_NOT_FOUND_404
public static final ErrorDescription POLICY_ERROR
public static final ErrorDescription ACCESS_DENIED
public static ErrorDescription[] values()
for (ErrorDescription c : ErrorDescription.values()) System.out.println(c);
public static ErrorDescription 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 getLocalizationKey()
public String getDescription(String... substitutions)
substitutions - the substitution values for the description messageCopyright 2023 Ping Identity Corp. All rights reserved.