public static enum TextProtocol.MessageError extends java.lang.Enum<TextProtocol.MessageError>
Enum Constant and Description |
---|
BAD_FORMAT |
GROUP_MISMATCH |
NOT_A_MEMBER |
VERSION_MISMATCH |
Modifier and Type | Method and Description |
---|---|
static TextProtocol.MessageError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextProtocol.MessageError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextProtocol.MessageError BAD_FORMAT
public static final TextProtocol.MessageError VERSION_MISMATCH
public static final TextProtocol.MessageError GROUP_MISMATCH
public static final TextProtocol.MessageError NOT_A_MEMBER
public static TextProtocol.MessageError[] values()
for (TextProtocol.MessageError c : TextProtocol.MessageError.values()) System.out.println(c);
public static TextProtocol.MessageError 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 nullCopyright (c) 2004-2012 Oracle. All rights reserved.