public class

JsonRpcException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.rabbitmq.tools.jsonrpc.JsonRpcException

Class Overview

Thrown when a JSON-RPC service indicates an error occurred during a call.

Summary

Fields
public int code Error code
public Object error Error detail object - may not always be present or meaningful
public String message Error message
public String name Usually the constant string, "JSONRPCError"
Public Constructors
JsonRpcException()
JsonRpcException(Map<StringObject> errorMap)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

public int code

Error code

public Object error

Error detail object - may not always be present or meaningful

public String message

Error message

public String name

Usually the constant string, "JSONRPCError"

Public Constructors

public JsonRpcException ()

public JsonRpcException (Map<StringObject> errorMap)