public enum ResponseErrorCode extends java.lang.Enum<ResponseErrorCode>
Enum Constant and Description |
---|
InternalError |
InvalidParams |
InvalidRequest |
MethodNotFound |
ParseError |
RequestCancelled |
serverErrorEnd |
serverErrorStart |
serverNotInitialized |
UnknownErrorCode |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ResponseErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseErrorCode ParseError
public static final ResponseErrorCode InvalidRequest
public static final ResponseErrorCode MethodNotFound
public static final ResponseErrorCode InvalidParams
public static final ResponseErrorCode InternalError
public static final ResponseErrorCode serverErrorStart
public static final ResponseErrorCode serverErrorEnd
public static final ResponseErrorCode serverNotInitialized
public static final ResponseErrorCode UnknownErrorCode
public static final ResponseErrorCode RequestCancelled
public static ResponseErrorCode[] values()
for (ResponseErrorCode c : ResponseErrorCode.values()) System.out.println(c);
public static ResponseErrorCode 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 getValue()