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.
KilledFlowException(id: StateMachineRunId) KilledFlowException(id: StateMachineRunId, message: String)
An exception that is thrown when a flow has been killed. |
val id: StateMachineRunId |
open val cause: Throwable? |
|
open val message: String? |
|
open var originalExceptionClassName: String? |
|
open val originalMessage: String? |
open fun addSuppressed(suppressed: Array<Throwable>): Unit |
|
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun setCause(cause: Throwable?): Unit |
|
open fun setMessage(message: String?): Unit |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |