corda / net.corda.client.rpc / RPCException

RPCException

open class RPCException

Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method.

Constructors

<init>

RPCException(msg: String)RPCException(message: String?, cause: Throwable?)

Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method.

Inheritors

ConnectionFailureException

open class ConnectionFailureException : RPCException

Signals that the underlying RPCConnection dropped.

CouldNotStartFlowException

class CouldNotStartFlowException : RPCException

Thrown when a flow start command died before receiving a net.corda.core.messaging.FlowHandle. On catching this exception, the typical behaviour is to run a "logical retry", meaning only retry the flow if the expected outcome did not occur.

MaxRpcRetryException

class MaxRpcRetryException : RPCException

Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully.

UnrecoverableRPCException

open class UnrecoverableRPCException : RPCException

Thrown to indicate a fatal error in the RPC system which cannot be recovered from and so needs some manual support.