UnsupportedSupervisionStrategyException
extends NexusException
in package
FinalYes
Thrown at spawn when an actor is configured with a supervision strategy that the current runtime does not honor, rather than silently degrading to a different one.
all-for-one supervision requires the parent to restart a failed child's siblings,
which the self-supervision model does not support; it is rejected so callers are not
misled into believing sibling restarts happen.
Tags
Table of Contents
Methods
- forStrategy() : self
Methods
forStrategy()
public
static forStrategy(StrategyType $type) : self
Parameters
- $type : StrategyType