Merge pull request #22328 from prettynatty/death-pact-doc

add case for DeathPactException stopping actor
This commit is contained in:
Patrik Nordwall 2017-02-20 10:57:09 +01:00 committed by GitHub
commit a7dfaf00a4
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