|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JSONRPCError
| Field Summary | |
|---|---|
static int |
CODE_INTERNAL_JSON_ERROR
Internal error. |
static int |
CODE_INVALID_PARAMS
Invalid params. |
static int |
CODE_INVALID_REQUEST
Invalid Request. |
static int |
CODE_METHOD_NOT_FOUND
Method not found. |
static int |
CODE_PARSE_ERROR
Parse error. |
static int |
CODE_SERVER_ERROR_MIN
Server error. |
| Fields inherited from interface ikrs.json.JSONValue |
|---|
FALSE, NULL, TRUE, TYPE_ARRAY, TYPE_BOOLEAN, TYPE_NULL, TYPE_NUMBER, TYPE_OBJECT, TYPE_STRING |
| Method Summary | |
|---|---|
JSONValue |
getCode()
This method returns the value of the 'jsonrpc' field from this request. |
JSONValue |
getData()
Get the error object from the response (if result is null). |
JSONValue |
getMessage()
Get the RPC result of the call. |
| Methods inherited from interface ikrs.json.JSONValue |
|---|
asJSONArray, asJSONBoolean, asJSONNumber, asJSONObject, asJSONString, getArray, getBoolean, getNumber, getObject, getString, isArray, isBoolean, isNull, isNumber, isObject, isString, toJSONString, write |
| Field Detail |
|---|
static final int CODE_PARSE_ERROR
static final int CODE_INVALID_REQUEST
static final int CODE_METHOD_NOT_FOUND
static final int CODE_INVALID_PARAMS
static final int CODE_INTERNAL_JSON_ERROR
static final int CODE_SERVER_ERROR_MIN
| Method Detail |
|---|
JSONValue getCode()
JSONValue getMessage()
JSONValue getData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||