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
IceRpcErrorThe error.
innerException
ExceptionThe 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
IceRpcErrorThe error.
message
stringA message that describes the exception.
innerException
ExceptionThe exception that caused this exception.
Properties
IceRpcError
Gets the IceRpc error.
public IceRpcError IceRpcError { get; }
Property Value
- IceRpcError
The IceRpcError of this exception.