Class JsonRpcException
Base exception class for JSON-RPC exceptions.
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public class JsonRpcException : Exception
Constructors
| Name | Description |
|---|---|
| JsonRpcException() | Initialises a new JsonRpcException instance with the default error message. |
| JsonRpcException(Exception) | Initialises a new JsonRpcException instance with the default error message and a reference to the inner exception that is the cause of this exception. |
| JsonRpcException(String) | Initialises a new JsonRpcException instance with a specified error message. |
| JsonRpcException(String, Exception) | Initialises a new JsonRpcException instance with a specified error message and a reference to the inner exception that is the cause of this exception. |
| JsonRpcException(String, JsonRpcId) | Initialises a new JsonRpcException instance with a specified error message and the ID of the related JSON-RPC message. |
| JsonRpcException(String, JsonRpcId, Exception) | Initialises a new JsonRpcException instance with a specified error message, the ID of the related JSON-RPC message and a reference to the inner exception that is the cause of this exception. |
| JsonRpcException(JsonRpcId) | Initialises a new JsonRpcException instance with the default error message and the ID of the related JSON-RPC message. |
| JsonRpcException(JsonRpcId, Exception) | Initialises a new JsonRpcException instance with the default error message, the ID of the related JSON-RPC message and a reference to the inner exception that is the cause of this exception. |
Properties
| Name | Description |
|---|---|
| Message | Gets the error message including the JSON-RPC ID, if known. |
| MessageId | The JSON-RPC ID of the message related to the exception. |