protected ActorBase() { if (ActorCell.Current == null) throw new ActorInitializationException("Do not create actors using 'new', always create them using an ActorContext/System"); Context.Become(Receive); }