Enum MiddlewareErrorCode
- java.lang.Object
-
- java.lang.Enum<MiddlewareErrorCode>
-
- de.adorsys.ledgers.middleware.api.exception.MiddlewareErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<MiddlewareErrorCode>
public enum MiddlewareErrorCode extends Enum<MiddlewareErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MiddlewareErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static MiddlewareErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENCY_MISMATCH
public static final MiddlewareErrorCode CURRENCY_MISMATCH
-
NO_SUCH_ALGORITHM
public static final MiddlewareErrorCode NO_SUCH_ALGORITHM
-
PAYMENT_PROCESSING_FAILURE
public static final MiddlewareErrorCode PAYMENT_PROCESSING_FAILURE
-
AUTHENTICATION_FAILURE
public static final MiddlewareErrorCode AUTHENTICATION_FAILURE
-
ACCOUNT_CREATION_VALIDATION_FAILURE
public static final MiddlewareErrorCode ACCOUNT_CREATION_VALIDATION_FAILURE
-
INSUFFICIENT_PERMISSION
public static final MiddlewareErrorCode INSUFFICIENT_PERMISSION
-
REQUEST_VALIDATION_FAILURE
public static final MiddlewareErrorCode REQUEST_VALIDATION_FAILURE
-
CAN_NOT_RESOLVE_SCA_CHALLENGE_DATA
public static final MiddlewareErrorCode CAN_NOT_RESOLVE_SCA_CHALLENGE_DATA
-
BRANCH_NOT_FOUND
public static final MiddlewareErrorCode BRANCH_NOT_FOUND
-
ACCOUNT_DISABLED
public static final MiddlewareErrorCode ACCOUNT_DISABLED
-
USER_IS_BLOCKED
public static final MiddlewareErrorCode USER_IS_BLOCKED
-
SCA_UNAVAILABLE
public static final MiddlewareErrorCode SCA_UNAVAILABLE
-
UNSUPPORTED_OPERATION
public static final MiddlewareErrorCode UNSUPPORTED_OPERATION
-
PAYMENT_VALIDATION_EXCEPTION
public static final MiddlewareErrorCode PAYMENT_VALIDATION_EXCEPTION
-
-
Method Detail
-
values
public static MiddlewareErrorCode[] 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 (MiddlewareErrorCode c : MiddlewareErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MiddlewareErrorCode 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
-
-