public enum AuthErrorCode extends Enum<AuthErrorCode>
| Enum Constant and Description |
|---|
ACCESS_FORBIDDEN |
AUTHENTICATION_FAILED |
LOGIN_FAILED |
| Modifier and Type | Method and Description |
|---|---|
static AuthErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthErrorCode LOGIN_FAILED
public static final AuthErrorCode ACCESS_FORBIDDEN
public static final AuthErrorCode AUTHENTICATION_FAILED
public static AuthErrorCode[] values()
for (AuthErrorCode c : AuthErrorCode.values()) System.out.println(c);
public static AuthErrorCode 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 © 2019. All rights reserved.