cz.eman.jsonrpc.shared.bo
Class JsonRpcErrorResponse
java.lang.Object
cz.eman.jsonrpc.shared.bo.JsonRpcErrorResponse
- All Implemented Interfaces:
- JsonRpcResponse, java.io.Serializable
public class JsonRpcErrorResponse
- extends java.lang.Object
- implements java.io.Serializable, JsonRpcResponse
Json-rpc response object acording to json-rpc 2.0 specifications
- Author:
- Karel Hovorka
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JsonRpcErrorResponse
public JsonRpcErrorResponse()
getJsonrpc
public java.lang.String getJsonrpc()
- Specified by:
getJsonrpc
in interface JsonRpcResponse
setJsonrpc
public void setJsonrpc(java.lang.String jsonrpc)
- Specified by:
setJsonrpc
in interface JsonRpcResponse
getId
public java.lang.String getId()
- Specified by:
getId
in interface JsonRpcResponse
setId
public void setId(java.lang.String id)
- Specified by:
setId
in interface JsonRpcResponse
getError
public Error getError()
setError
public void setError(Error error)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object