SupervisorStrategyDefaultDecider Method |
When supervisorStrategy is not specified for an actor this
Decider is used by default in the supervisor strategy.
The child will be stopped when
ActorInitializationException,
ActorKilledException, or
DeathPactException is
thrown. It will be restarted for other `Exception` types.
The error is escalated if it's a `Exception`, i.e. `Error`.
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic static Directive DefaultDecider(
Exception exception
)
Public Shared Function DefaultDecider (
exception As Exception
) As Directive
public:
static Directive DefaultDecider(
Exception^ exception
)
static member DefaultDecider :
exception : Exception -> Directive
Parameters
- exception
- Type: SystemException
The exception.
Return Value
Type:
DirectiveDirective.
See Also