public enum RespErrorCode extends Enum<RespErrorCode>
Enum Constant and Description |
---|
ExceedLimit |
NoBottomMessages |
NoMessages |
NotBothTopAndBottomMessages |
NoTopMessages |
Modifier and Type | Method and Description |
---|---|
static RespErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RespErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RespErrorCode NoMessages
public static final RespErrorCode ExceedLimit
public static final RespErrorCode NoTopMessages
public static final RespErrorCode NoBottomMessages
public static final RespErrorCode NotBothTopAndBottomMessages
public static RespErrorCode[] values()
for (RespErrorCode c : RespErrorCode.values()) System.out.println(c);
public static RespErrorCode 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 © 2000-2017 EPAM Systems. All Rights Reserved.