Constructor JsonRpcWebException
JsonRpcWebException()
Initialises a new JsonRpcWebException instance with the default error message.
Declaration
public JsonRpcWebException()
JsonRpcWebException(Exception)
Initialises a new JsonRpcWebException instance with the default error message and a
reference to the inner exception that is the cause of this exception.
Declaration
public JsonRpcWebException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
Exception | innerException | The exception that is the cause of the current exception. |
JsonRpcWebException(String)
Initialises a new JsonRpcWebException instance with a specified error message.
Declaration
public JsonRpcWebException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
JsonRpcWebException(JsonRpcId)
Initialises a new JsonRpcWebException instance with the default error message and
the ID of the related JSON-RPC message.
Declaration
public JsonRpcWebException(JsonRpcId id)
Parameters
Type | Name | Description |
---|---|---|
JsonRpcId | id | The JsonRpcId instance of the message that caused the exception. |
JsonRpcWebException(String, Exception)
Initialises a new JsonRpcWebException instance with a specified error message and a
reference to the inner exception that is the cause of this exception.
Declaration
public JsonRpcWebException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception. |
JsonRpcWebException(JsonRpcId, Exception)
Initialises a new JsonRpcWebException 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.
Declaration
public JsonRpcWebException(JsonRpcId id, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
JsonRpcId | id | The JsonRpcId instance of the message that caused the exception. |
Exception | innerException | The exception that is the cause of the current exception. |
JsonRpcWebException(String, JsonRpcId)
Initialises a new JsonRpcWebException instance with a specified error message and
the ID of the related JSON-RPC message.
Declaration
public JsonRpcWebException(string message, JsonRpcId id)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
JsonRpcId | id | The JsonRpcId instance of the message that caused the exception. |
JsonRpcWebException(String, JsonRpcId, Exception)
Initialises a new JsonRpcWebException 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.
Declaration
public JsonRpcWebException(string message, JsonRpcId id, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
JsonRpcId | id | The JsonRpcId instance of the message that caused the exception. |
Exception | innerException | The exception that is the cause of the current exception. |