* I also tried to change the lifecycle methods (e.g. postStop) but that would break source compatibility for code that called super.postStop
This commit is contained in:
parent
9fbab1f268
commit
675e137d06
2 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ abstract class UntypedActor extends Actor {
|
|||
* To be implemented by concrete UntypedActor, this defines the behavior of the
|
||||
* UntypedActor.
|
||||
*/
|
||||
@throws(classOf[Exception])
|
||||
@throws(classOf[Throwable])
|
||||
def onReceive(message: Any): Unit
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ abstract class UntypedPersistentActor extends UntypedActor with Eventsourced wit
|
|||
*
|
||||
* @see [[Recovery]]
|
||||
*/
|
||||
@throws(classOf[Exception])
|
||||
@throws(classOf[Throwable])
|
||||
def onReceiveRecover(msg: Any): Unit
|
||||
|
||||
/**
|
||||
|
|
@ -299,7 +299,7 @@ abstract class UntypedPersistentActor extends UntypedActor with Eventsourced wit
|
|||
* communication with other actors). On successful validation, one or more events are
|
||||
* derived from a command and these events are then persisted by calling `persist`.
|
||||
*/
|
||||
@throws(classOf[Exception])
|
||||
@throws(classOf[Throwable])
|
||||
def onReceiveCommand(msg: Any): Unit
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue