public enum MessageStatusCode extends Enum<MessageStatusCode>
Enum Constant and Description |
---|
BAD_ARGUMENT_ERROR |
EXTERNAL_SERVICE_ERROR |
ILLEGAL_STATE_ERROR |
INTERNAL_ERROR |
MULTIPLE_ERRORS |
OBJECT_NOT_FOUND |
OK |
OPERATION_NOT_SUPPORTED |
REQUEST_QUEUE_FULL |
SCHEDULED |
SERVICE_CONNECTION_ERROR |
Modifier and Type | Method and Description |
---|---|
static MessageStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageStatusCode OK
public static final MessageStatusCode MULTIPLE_ERRORS
public static final MessageStatusCode OBJECT_NOT_FOUND
public static final MessageStatusCode OPERATION_NOT_SUPPORTED
public static final MessageStatusCode INTERNAL_ERROR
public static final MessageStatusCode BAD_ARGUMENT_ERROR
public static final MessageStatusCode ILLEGAL_STATE_ERROR
public static final MessageStatusCode SERVICE_CONNECTION_ERROR
public static final MessageStatusCode EXTERNAL_SERVICE_ERROR
public static final MessageStatusCode REQUEST_QUEUE_FULL
public static final MessageStatusCode SCHEDULED
public static MessageStatusCode[] values()
for (MessageStatusCode c : MessageStatusCode.values()) System.out.println(c);
public static MessageStatusCode 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 null