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