corda/node
Kyriakos Tharrouniatis b0903efa50 CORDA-3202 Add a specific exception for flows to hospitalise themselves (#5767)
* Introducing a new type of exception and a new hospital staff member to pause flows by immediately hospitalising them.

* Renaming exception to "HospitalizeFlowException".

* Making HospitalizeFlowException an open class.

* Overloading constructors of HospitalizeFlowException to be available in Java.

* Using Throwable#mentionsThrowable.

* Moving HospitalizeFlowException in its own file.

* Update kdocs for HospitalizeFlowException and StaffedFlowHospital#SedationNurse.

* Added tests, testing various HospitalizeFlowException types thrown.

* Fix Detekt issues.

* Imports optimizing.

* Add safe casting.

* Update api-flows and node-flow-hospital docs.

* Minor code comment change.

* Add DOCSTART-DOCEND signs in HospitalizeFlowException for makeDocs. It is referenced by api-flows.rst.

* Minor change in note.

* Code formatting.

* Remove comment.

* Remove if statement that makes example worse.

* Remove redundant comment.

* Moving 'Internal Corda errors' at the bottom.

* Changing node-flow-hospital.rst as per review.

* Change HospitalizeFlowException description as per review.

* Adding an example for FlowException.

* Minor indentation fix.

* Update FlowException example label as per review.

* Correcting handling of custom exception.
2019-12-11 10:35:58 +00:00
..
capsule CORDA-2876: Integrate the DJVM with the Corda Node. (#5633) 2019-11-05 13:44:18 +00:00
djvm CORDA-2876: Integrate the DJVM with the Corda Node. (#5633) 2019-11-05 13:44:18 +00:00
src CORDA-3202 Add a specific exception for flows to hospitalise themselves (#5767) 2019-12-11 10:35:58 +00:00
build.gradle CORDA-3356 Subflow ledger consistency tests + move statemachine tests to slow integration tests (#5722) 2019-11-25 17:11:54 +00:00