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