Exemplo n.º 1
0
 public void Handle( FailureMessage fail )
 {
     IncrementMessagesReceived();
     var exception = fail.Cause;
     if ( exception is AggregateException )
     {
         var agg = ( AggregateException )exception;
         exception = agg.InnerException;
         agg.Handle( exception1 => true );
     }
     Context.Parent.Tell( new StatusMessage( "Error " + fail.Child.Path + " " + exception != null ? exception.Message : "no exception object" ) );
 }
Exemplo n.º 2
0
 public void Handle( FailureMessage fail )
 {
     IncrementMessagesReceived();
     Context.Parent.Tell( fail );
 }