パッケージ org.nkjmlab.util.jsonrpc
クラス JsonRpcError
java.lang.Object
org.nkjmlab.util.jsonrpc.JsonRpcError
- 作成者:
- nkjm
- 関連項目:
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明static JsonRpcError
static JsonRpcError
Internal JSON-RPC error.static JsonRpcError
Invalid method parameter(s).static JsonRpcError
The JSON sent is not a valid Request object.static JsonRpcError
The method does not exist / is not available.static JsonRpcError
Invalid JSON was received by the server.int
getCode()
getData()
void
setCode
(int code) void
void
setMessage
(String message) toString()
-
コンストラクタの詳細
-
JsonRpcError
public JsonRpcError() -
JsonRpcError
-
-
メソッドの詳細
-
create
-
getCode
public int getCode() -
setCode
public void setCode(int code) -
setMessage
-
setData
-
getMessage
-
getData
-
toString
-
createInvalidRequest
The JSON sent is not a valid Request object.- パラメータ:
e
-- 戻り値:
-
createMethodNotFound
The method does not exist / is not available.- パラメータ:
e
-- 戻り値:
-
createInvalidParams
Invalid method parameter(s).- パラメータ:
e
-- 戻り値:
-
createInternalError
Internal JSON-RPC error.- パラメータ:
e
-- 戻り値:
-
createParseError
Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.- パラメータ:
e
-- 戻り値:
-