Table of Contents

Class IceRpcException

Namespace
IceRpc
Assembly
IceRpc.dll

The IceRPC core and built-in invokers, dispatchers (including built-in middleware and interceptors) report errors by throwing this exception.

public class IceRpcException : IOException, ISerializable
Inheritance
IceRpcException
Implements
Inherited Members

Constructors

IceRpcException(IceRpcError, Exception?)

Constructs a new instance of the IceRpcException class.

public IceRpcException(IceRpcError error, Exception? innerException = null)

Parameters

error IceRpcError

The error.

innerException Exception

The exception that caused this exception.

IceRpcException(IceRpcError, string?, Exception?)

Constructs a new instance of the IceRpcException class.

public IceRpcException(IceRpcError error, string? message, Exception? innerException = null)

Parameters

error IceRpcError

The error.

message string

A message that describes the exception.

innerException Exception

The exception that caused this exception.

Properties

IceRpcError

Gets the IceRpc error.

public IceRpcError IceRpcError { get; }

Property Value

IceRpcError

The IceRpcError of this exception.