public class KilledFlowException
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.
FlowLogic.isKilled
public KilledFlowException(@NotNull StateMachineRunId id, @NotNull java.lang.String message)
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.
FlowLogic.isKilled
public KilledFlowException(@NotNull StateMachineRunId id)
@NotNull public StateMachineRunId getId()