public enum ErrorType extends Enum<ErrorType>
Modifier and Type | Method and Description |
---|---|
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType RECIPIENT_DOES_NOT_EXIST
public static final ErrorType PROBLEM_WITH_REQUEST
public static final ErrorType SERVER_ERROR
public static final ErrorType INVALID_TRANSACTION
public static final ErrorType MESSAGE_DOES_NOT_EXIST
public static final ErrorType DUPLICATE_MESSAGE_ID
public static final ErrorType DIGIPOST_MESSAGE_ALREADY_DELIVERED
public static final ErrorType PRINT_MESSAGE_ALREADY_DELIVERED
public static final ErrorType GENERAL_ERROR
public static final ErrorType CANNOT_PREENCRYPT
public static final ErrorType FAILED_PREENCRYPTION
public static final ErrorType NOT_AUTHORIZED_FOR_PRINT
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 © 2013 Digipost Open Source. All Rights Reserved.