add case for DeathPactException stopping actor

This commit is contained in:
Andrey Kuznetsov 2017-02-18 02:30:43 +03:00
parent b2f7c7a037
commit 62cf0c3f43
2 changed files with 2 additions and 0 deletions

View file

@ -63,6 +63,7 @@ exceptions are handled by default:
* ``ActorInitializationException`` will stop the failing child actor
* ``ActorKilledException`` will stop the failing child actor
* ``DeathPactException`` will stop the failing child actor
* ``Exception`` will restart the failing child actor
* Other types of ``Throwable`` will be escalated to parent actor

View file

@ -67,6 +67,7 @@ exceptions are handled by default:
* ``ActorInitializationException`` will stop the failing child actor
* ``ActorKilledException`` will stop the failing child actor
* ``DeathPactException`` will stop the failing child actor
* ``Exception`` will restart the failing child actor
* Other types of ``Throwable`` will be escalated to parent actor