com.almende.eve.rpc.jsonrpc
Enum JSONRPCException.CODE
java.lang.Object
java.lang.Enum<JSONRPCException.CODE>
com.almende.eve.rpc.jsonrpc.JSONRPCException.CODE
- All Implemented Interfaces:
- Serializable, Comparable<JSONRPCException.CODE>
- Enclosing class:
- JSONRPCException
public static enum JSONRPCException.CODE
- extends Enum<JSONRPCException.CODE>
UNKNOWN_ERROR
public static final JSONRPCException.CODE UNKNOWN_ERROR
PARSE_ERROR
public static final JSONRPCException.CODE PARSE_ERROR
INVALID_REQUEST
public static final JSONRPCException.CODE INVALID_REQUEST
METHOD_NOT_FOUND
public static final JSONRPCException.CODE METHOD_NOT_FOUND
INVALID_PARAMS
public static final JSONRPCException.CODE INVALID_PARAMS
INTERNAL_ERROR
public static final JSONRPCException.CODE INTERNAL_ERROR
NOT_FOUND
public static final JSONRPCException.CODE NOT_FOUND
values
public static JSONRPCException.CODE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (JSONRPCException.CODE c : JSONRPCException.CODE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JSONRPCException.CODE valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013 Almende BV. All Rights Reserved.