diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2018-11-21 23:19:32 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2019-05-13 20:26:45 +0200 |
| commit | ff49cd6c9079264e04d2efa85b03a024d0e00cca (patch) | |
| tree | bc925038f730e784c7d8ed3c0cbe0e07178b0417 /odcsim-core/build.gradle | |
| parent | e1530fee893b5e9ceebf5e07b490c1c82da2e687 (diff) | |
feat: Add consistent exception handling in actor systems
This change makes exception handling in actor systems consistent.
Implementors should not propagate unhandled exceptions in actors to the
(one of the) threads running the engine, but instead should stop the
offending actor and continue running.
Supervision of actors should be implemented within actor behavior
instead. Since BehaviorInterpreter will propagate exceptions thrown by
an actor, consumers of that API can use it to catch unhandled exceptions in an
actor.
Diffstat (limited to 'odcsim-core/build.gradle')
| -rw-r--r-- | odcsim-core/build.gradle | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odcsim-core/build.gradle b/odcsim-core/build.gradle index 3ae40a0d..e4e61296 100644 --- a/odcsim-core/build.gradle +++ b/odcsim-core/build.gradle @@ -37,6 +37,7 @@ dependencies { testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_jupiter_version" testImplementation "org.junit.platform:junit-platform-launcher:$junit_platform_version" + testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0" } /* Create configuration for test suite used by implementors */ |
