Пример #1
0
 private void HandleRaiseExceptionMessage(RaiseExceptionMessage msg)
 {
     throw msg.Value;
     //throw new FormatException();
     //throw new NullReferenceException();
     //throw new Exception();
 }
Пример #2
0
        private void HandleRaiseExceptionMessage(RaiseExceptionMessage msg)
        {
            IActorRef sub1 = ActorsSystem.Actors["SimpleSubActor1"];

            sub1.Forward(msg);
        }