SupervisorStrategy..::..HandleFailure Method
This is the main entry point: in case of a child’s failure, this method
must try to handle the failure by resuming, restarting or stopping the
child (and returning `true`), or it returns `false` to escalate the
failure, which will lead to this actor re-throwing the exception which
caused the failure. The exception will not be wrapped.
This method calls [[Akka.Actor.SupervisorStrategy#LogFailure]], which will
log the failure unless it is escalated. You can customize the logging by
setting [[Akka.Actor.SupervisorStrategy#LoggingEnabled]] to `false` and
do the logging inside the `decider` or override the `LogFailure` method.
Namespace:
Akka.ActorAssembly: Akka (in Akka.dll)
Syntax
Parameters
- actorCell
- Type: Akka.Actor..::..ActorCell
The actor cell.
- child
- Type: Akka.Actor..::..ActorRef
The child.
- cause
- Type: Exception
The cause.