corda / net.corda.core.flows / KilledFlowException

KilledFlowException

class KilledFlowException : CordaRuntimeException

An exception that is thrown when a flow has been killed.

This exception can be returned and thrown to RPC clients waiting for the result of a flow's future.

It can also be used in conjunction with FlowLogic.isKilled to escape long-running computation loops when a flow has been killed.

Constructors

<init>

KilledFlowException(id: StateMachineRunId)

An exception that is thrown when a flow has been killed.

KilledFlowException(id: StateMachineRunId, message: String)

Properties

id

val id: StateMachineRunId