public static enum TextProtocol.MessageError extends 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(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(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 © 2024. All rights reserved.