RPCException - corda

corda / net.corda.client.rpc / RPCException

# RPCException

`open class RPCException : CordaRuntimeException`

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)` Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method. `RPCException(message: String?, cause: Throwable?)`

### Inheritors

#### ConnectionFailureException | Signals that the underlying RPCConnection dropped. `open class ConnectionFailureException : RPCException`
#### CouldNotStartFlowException | 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. `class CouldNotStartFlowException : RPCException`
#### MaxRpcRetryException | Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully. `class MaxRpcRetryException : RPCException`
#### UnrecoverableRPCException | Thrown to indicate a fatal error in the RPC system which cannot be recovered from and so needs some manual support. `open class UnrecoverableRPCException : RPCException`