public static enum InternalReply.Status extends java.lang.Enum<InternalReply.Status>
| Enum Constant and Description |
|---|
ERROR_HANDLER_EXCEPTION
Response status signifying an exception handling the message.
|
ERROR_NO_HANDLER
Response status signifying no registered handler.
|
OK
All ok.
|
PROTOCOL_EXCEPTION
Response status signifying invalid message structure.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalReply.Status |
forId(int id)
Returns the status enum associated with the given ID.
|
int |
id()
Returns the unique status ID.
|
static InternalReply.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternalReply.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalReply.Status OK
public static final InternalReply.Status ERROR_NO_HANDLER
public static final InternalReply.Status ERROR_HANDLER_EXCEPTION
public static final InternalReply.Status PROTOCOL_EXCEPTION
public static InternalReply.Status[] values()
for (InternalReply.Status c : InternalReply.Status.values()) System.out.println(c);
public static InternalReply.Status 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 id()
public static InternalReply.Status forId(int id)
id - the status ID.