public enum AGRErrorCode extends java.lang.Enum<AGRErrorCode>
Enum Constant and Description |
---|
ACTION_NOT_FOUND |
ALREADY_PAID |
ERROR_IN_REQUEST_FROM_AGR |
FAILED_TO_UPDATE_USER |
INCORRECT_PARAMETER_AMOUNT |
SIGN_CHECK_FAILED |
SUCCESS |
SYSTEM_ERROR |
TRANSACTION_CANCELLED |
TRANSACTION_DOES_NOT_EXIST |
USER_DOES_NOT_EXIST |
VENDOR_IS_NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static AGRErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AGRErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AGRErrorCode SUCCESS
public static final AGRErrorCode SIGN_CHECK_FAILED
public static final AGRErrorCode INCORRECT_PARAMETER_AMOUNT
public static final AGRErrorCode ACTION_NOT_FOUND
public static final AGRErrorCode ALREADY_PAID
public static final AGRErrorCode USER_DOES_NOT_EXIST
public static final AGRErrorCode TRANSACTION_DOES_NOT_EXIST
public static final AGRErrorCode FAILED_TO_UPDATE_USER
public static final AGRErrorCode ERROR_IN_REQUEST_FROM_AGR
public static final AGRErrorCode TRANSACTION_CANCELLED
public static final AGRErrorCode VENDOR_IS_NOT_FOUND
public static final AGRErrorCode SYSTEM_ERROR
public static AGRErrorCode[] values()
for (AGRErrorCode c : AGRErrorCode.values()) System.out.println(c);
public static AGRErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()