summaryrefslogtreecommitdiff
path: root/odcsim-core/src/test
diff options
context:
space:
mode:
authorFabian Mastenbroek <fabianishere@outlook.com>2018-07-19 15:52:04 +0200
committerGitHub <noreply@github.com>2018-07-19 15:52:04 +0200
commitd37a139b357ded9ba048c10ccad320a0d8412f0b (patch)
tree4ae1d87574e30862303947f9f78152f5524ef75f /odcsim-core/src/test
parent28974348022dc7c339359ffb099ec55d2c76e457 (diff)
refactor: Improve exception handling in processes (#29)
This change will improve exception handling of processes. At the moment, when a process throws an uncaught exception, the kernel will catch and log the exception, stop the offending process and then continue. This approach however might cause the user to overlook possible exceptions in processes and does not give any ability to the user for handling these exception. This change modifies the kernel implementation and specification such that the `step()` method (and consequently `run()`) must propagate uncaught exceptions that occur in processes. This allows the caller to control the way exceptions are handled.
Diffstat (limited to 'odcsim-core/src/test')
0 files changed, 0 insertions, 0 deletions