add @throws annotation to actor life-cycle hooks, see #3188
This commit is contained in:
parent
c77cdeb86b
commit
d9d7d45ac2
3 changed files with 10 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ public class InitializationDocSpecJava {
|
|||
// of the actor. To opt-out from stopping the children, we
|
||||
// have to override preRestart()
|
||||
@Override
|
||||
public void preRestart(Throwable reason, Option<Object> message) {
|
||||
public void preRestart(Throwable reason, Option<Object> message)
|
||||
throws Exception {
|
||||
// Keep the call to postStop(), but no stopping of children
|
||||
postStop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue