mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
1f71b071aa
* Unwrap rx.OnErrorNotImplementedException so the hospital can handle the cause appropriately * Add db failure cordapp * Renamed folders to avoid ambiguity in gradle * Add integration test for exception hospitalisation when thrown from an RX observable. * Make the test slightly cleaner * Fix the schema to actually match the requirements for my custom state. Thanks a bunch, H2. * Switch test to use SqlException base class. * Schedule error event if we detect that a commit or db flush has thrown (forcing the flow to error even if customer code then goes ahead to swallow the exception) * Revert change to schedule extra error * Add more tests for edge case with DB exceptions, changed CorDapp to suppor this an hook in the flow hospital * Warning about unsubscribe Check state transitioned from clean to error for hospital admission. * Match the test to our actual expectations * Revert "Revert change to schedule extra error" This reverts commit 43d47937 * Prevent suppression of errors arising in `transaction()` and `jdbcConnection()` * Test for SqlException caught trying to escape from recordTransaction and suppressed outside being intercepted. * More tests for various error/catch combinations * Clean up and comments * Code reformat * Fix test compilation |
||
---|---|---|
.. | ||
src | ||
build.gradle |