public enum ErrorCode extends Enum<ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
parse(String error) |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode DOCUMENT_NOT_FOUND
public static final ErrorCode AGREEMENT_TYPE_NOT_AVAILABLE
public static final ErrorCode UNKNOWN_USER_ID
public static final ErrorCode NOT_AUTHORIZED
public static final ErrorCode AGREEMENT_NOT_FOUND
public static final ErrorCode INVOICE_ALREADY_PAID
public static final ErrorCode INVALID_INVOICE_STATUS
public static final ErrorCode INVALID_REQUEST_PARAMETER
public static final ErrorCode INVALID_FIELD
public static final ErrorCode BROKER_NOT_AUTHORIZED
public static final ErrorCode INVALID_BROKER_ID
public static final ErrorCode INVALID_SENDER_ID
public static final ErrorCode CLIENT_TECHNICAL_ERROR
public static final ErrorCode INVALID_SIGNATURE
public static final ErrorCode SIGNATURE_ERROR
public static final ErrorCode IO_EXCEPTION
public static final ErrorCode NO_ENTITY
public static final ErrorCode GENERAL_ERROR
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Digipost Open Source. All rights reserved.