public enum UserManagementErrorCode extends Enum<UserManagementErrorCode>
| Enum Constant and Description |
|---|
CONSENT_NOT_FOUND |
INSUFFICIENT_PERMISSION |
TOKEN_CREATION_ERROR |
USER_ALREADY_EXISTS |
USER_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
static UserManagementErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserManagementErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserManagementErrorCode USER_NOT_FOUND
public static final UserManagementErrorCode CONSENT_NOT_FOUND
public static final UserManagementErrorCode INSUFFICIENT_PERMISSION
public static final UserManagementErrorCode USER_ALREADY_EXISTS
public static final UserManagementErrorCode TOKEN_CREATION_ERROR
public static UserManagementErrorCode[] values()
for (UserManagementErrorCode c : UserManagementErrorCode.values()) System.out.println(c);
public static UserManagementErrorCode 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.