Enum AuthErrorCode
- java.lang.Object
-
- java.lang.Enum<AuthErrorCode>
-
- de.adorsys.ledgers.oba.service.api.domain.exception.AuthErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<AuthErrorCode>
public enum AuthErrorCode extends Enum<AuthErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_FORBIDDENAUTHENTICATION_FAILEDCONSENT_DATA_UPDATE_FAILEDLOGIN_FAILED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthErrorCodevalueOf(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.
-
-
-
Enum Constant Detail
-
LOGIN_FAILED
public static final AuthErrorCode LOGIN_FAILED
-
ACCESS_FORBIDDEN
public static final AuthErrorCode ACCESS_FORBIDDEN
-
AUTHENTICATION_FAILED
public static final AuthErrorCode AUTHENTICATION_FAILED
-
CONSENT_DATA_UPDATE_FAILED
public static final AuthErrorCode CONSENT_DATA_UPDATE_FAILED
-
-
Method Detail
-
values
public static AuthErrorCode[] 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 (AuthErrorCode c : AuthErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthErrorCode 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
-
-