corda / net.corda.core.flows / HospitalizeFlowException / <init>


HospitalizeFlowException(message: String?)
HospitalizeFlowException(cause: Throwable?)
HospitalizeFlowException() HospitalizeFlowException(message: String?, cause: Throwable?)

This exception allows a flow to pass itself to the flow hospital. Once the flow reaches the hospital it will determine how to progress depending on what causes the exception wraps. Assuming there are no important wrapped exceptions, throwing a HospitalizeFlowException will place the flow in overnight observation, where it will be replayed at a later time.