Enum UserManagementErrorCode
- java.lang.Object
-
- java.lang.Enum<UserManagementErrorCode>
-
- de.adorsys.ledgers.util.exception.UserManagementErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<UserManagementErrorCode>
public enum UserManagementErrorCode extends Enum<UserManagementErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserManagementErrorCodevalueOf(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.
-
-
-
Enum Constant Detail
-
USER_NOT_FOUND
public static final UserManagementErrorCode USER_NOT_FOUND
-
CONSENT_NOT_FOUND
public static final UserManagementErrorCode CONSENT_NOT_FOUND
-
INSUFFICIENT_PERMISSION
public static final UserManagementErrorCode INSUFFICIENT_PERMISSION
-
USER_ALREADY_EXISTS
public static final UserManagementErrorCode USER_ALREADY_EXISTS
-
TOKEN_CREATION_ERROR
public static final UserManagementErrorCode TOKEN_CREATION_ERROR
-
RESET_PASSWORD_CODE_SENDING_ERROR
public static final UserManagementErrorCode RESET_PASSWORD_CODE_SENDING_ERROR
-
RESET_PASSWORD_CODE_INVALID
public static final UserManagementErrorCode RESET_PASSWORD_CODE_INVALID
-
INVALID_CREDENTIAL
public static final UserManagementErrorCode INVALID_CREDENTIAL
-
OAUTH_CODE_INVALID
public static final UserManagementErrorCode OAUTH_CODE_INVALID
-
DUPLICATE_SCA
public static final UserManagementErrorCode DUPLICATE_SCA
-
INVALID_VERIFICATION_TOKEN
public static final UserManagementErrorCode INVALID_VERIFICATION_TOKEN
-
EXPIRED_TOKEN
public static final UserManagementErrorCode EXPIRED_TOKEN
-
TOKEN_NOT_FOUND
public static final UserManagementErrorCode TOKEN_NOT_FOUND
-
USER_IS_BLOCKED
public static final UserManagementErrorCode USER_IS_BLOCKED
-
USER_IS_TEMPORARY_BLOCKED_BY_SYSTEM
public static final UserManagementErrorCode USER_IS_TEMPORARY_BLOCKED_BY_SYSTEM
-
-
Method Detail
-
values
public static UserManagementErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserManagementErrorCode c : UserManagementErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserManagementErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-