Package com.rabbitmq.tools.jsonrpc
Class JsonRpcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.rabbitmq.tools.jsonrpc.JsonRpcException
-
- All Implemented Interfaces:
Serializable
public class JsonRpcException extends Exception
Thrown when a JSON-RPC service indicates an error occurred during a call.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonRpcException()
JsonRpcException(String detailMessage, String name, int code, String message, Object error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Object
getError()
String
getMessage()
String
getName()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getName
public String getName()
-
getCode
public int getCode()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getError
public Object getError()
-
-