Show / Hide Table of Contents

    Constructor JsonRpcException

    JsonRpcException()

    Initialises a new JsonRpcException instance with the default error message.
    Declaration
    public JsonRpcException()

    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.
    Declaration
    public JsonRpcException(Exception innerException)
    Parameters
    Type Name Description
    Exception innerException The exception that is the cause of the current exception.

    JsonRpcException(String)

    Initialises a new JsonRpcException instance with a specified error message.
    Declaration
    public JsonRpcException(string message)
    Parameters
    Type Name Description
    String message The error message that explains the reason for the exception.

    JsonRpcException(JsonRpcId)

    Initialises a new JsonRpcException instance with the default error message and the ID of the related JSON-RPC message.
    Declaration
    public JsonRpcException(JsonRpcId id)
    Parameters
    Type Name Description
    JsonRpcId id The JsonRpcId instance of the message that caused the exception.

    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.
    Declaration
    public JsonRpcException(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.

    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.
    Declaration
    public JsonRpcException(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.

    JsonRpcException(String, JsonRpcId)

    Initialises a new JsonRpcException instance with a specified error message and the ID of the related JSON-RPC message.
    Declaration
    public JsonRpcException(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.

    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.
    Declaration
    public JsonRpcException(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.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.