|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.rabbitmq.tools.jsonrpc.JsonRpcException
public class JsonRpcException
Thrown when a JSON-RPC service indicates an error occurred during a call.
Field Summary | |
---|---|
int |
code
Error code |
java.lang.Object |
error
Error detail object - may not always be present or meaningful |
java.lang.String |
message
Error message |
java.lang.String |
name
Usually the constant string, "JSONRPCError" |
Constructor Summary | |
---|---|
JsonRpcException()
|
|
JsonRpcException(java.util.Map<java.lang.String,java.lang.Object> errorMap)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public int code
public java.lang.String message
public java.lang.Object error
Constructor Detail |
---|
public JsonRpcException()
public JsonRpcException(java.util.Map<java.lang.String,java.lang.Object> errorMap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |