public static enum Error.ErrorCode extends java.lang.Enum<Error.ErrorCode>
Enum Constant and Description |
---|
BAD_INPUT |
MATCH_JOIN_REJECTED |
MATCH_NOT_FOUND |
MISSING_PAYLOAD |
RUNTIME_EXCEPTION |
RUNTIME_FUNCTION_EXCEPTION |
RUNTIME_FUNCTION_NOT_FOUND |
UNKNOWN |
UNRECOGNISED_PAYLOAD |
Modifier and Type | Method and Description |
---|---|
static Error.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Error.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error.ErrorCode UNKNOWN
public static final Error.ErrorCode RUNTIME_EXCEPTION
public static final Error.ErrorCode UNRECOGNISED_PAYLOAD
public static final Error.ErrorCode MISSING_PAYLOAD
public static final Error.ErrorCode BAD_INPUT
public static final Error.ErrorCode MATCH_NOT_FOUND
public static final Error.ErrorCode MATCH_JOIN_REJECTED
public static final Error.ErrorCode RUNTIME_FUNCTION_NOT_FOUND
public static final Error.ErrorCode RUNTIME_FUNCTION_EXCEPTION
public static Error.ErrorCode[] values()
for (Error.ErrorCode c : Error.ErrorCode.values()) System.out.println(c);
public static Error.ErrorCode 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 null