| 构造器和说明 |
|---|
JsonRpcError(Integer code,
String message,
String data) |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getCode() |
String |
getData() |
String |
getMessage() |
static JsonRpcError |
internalError(Throwable t) |
static JsonRpcError |
invalidParamsError(Throwable t) |
static JsonRpcError |
invalidRequestError(Throwable t) |
static JsonRpcError |
methodNotFoundError(Throwable t) |
static JsonRpcError |
parseError(Throwable t) |
static JsonRpcError |
serverError(int index,
Throwable t) |
public Integer getCode()
public String getMessage()
public String getData()
public static JsonRpcError parseError(Throwable t)
public static JsonRpcError invalidRequestError(Throwable t)
public static JsonRpcError methodNotFoundError(Throwable t)
public static JsonRpcError invalidParamsError(Throwable t)
public static JsonRpcError internalError(Throwable t)
public static JsonRpcError serverError(int index, Throwable t)
Copyright © 2016. All rights reserved.