Enum DepositErrorCode
- java.lang.Object
-
- java.lang.Enum<DepositErrorCode>
-
- de.adorsys.ledgers.util.exception.DepositErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<DepositErrorCode>
public enum DepositErrorCode extends Enum<DepositErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DepositErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static DepositErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPOSIT_ACCOUNT_EXISTS
public static final DepositErrorCode DEPOSIT_ACCOUNT_EXISTS
-
INSUFFICIENT_FUNDS
public static final DepositErrorCode INSUFFICIENT_FUNDS
-
DEPOSIT_ACCOUNT_NOT_FOUND
public static final DepositErrorCode DEPOSIT_ACCOUNT_NOT_FOUND
-
PAYMENT_NOT_FOUND
public static final DepositErrorCode PAYMENT_NOT_FOUND
-
PAYMENT_PROCESSING_FAILURE
public static final DepositErrorCode PAYMENT_PROCESSING_FAILURE
-
PAYMENT_WITH_ID_EXISTS
public static final DepositErrorCode PAYMENT_WITH_ID_EXISTS
-
DEPOSIT_OPERATION_FAILURE
public static final DepositErrorCode DEPOSIT_OPERATION_FAILURE
-
COULD_NOT_EXECUTE_STATEMENT
public static final DepositErrorCode COULD_NOT_EXECUTE_STATEMENT
-
CURRENCY_NOT_SUPPORTED
public static final DepositErrorCode CURRENCY_NOT_SUPPORTED
-
UNSUPPORTED_CREDIT_LIMIT
public static final DepositErrorCode UNSUPPORTED_CREDIT_LIMIT
-
-
Method Detail
-
values
public static DepositErrorCode[] 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 (DepositErrorCode c : DepositErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DepositErrorCode 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
-
-