err() private method

private err ( Err e ) : void
e Err
return void
Ejemplo n.º 1
0
 internal void _dispatch(Future future)
 {
     try
     {
         if (future.isCancelled())
         {
             return;
         }
         if (m_pool.m_killed)
         {
             future.cancel(); return;
         }
         future.set(receive(future.m_msg));
     }
     catch (Err.Val e)
     {
         future.err(e.m_err);
     }
     catch (System.Exception e)
     {
         future.err(Err.make(e));
     }
 }
Ejemplo n.º 2
0
Archivo: Actor.cs Proyecto: nomit007/f4
 internal void _dispatch(Future future)
 {
     try
       {
     if (future.isCancelled()) return;
     if (m_pool.m_killed) { future.cancel(); return; }
     future.set(receive(future.m_msg));
       }
       catch (Err.Val e)
       {
     future.err(e.m_err);
       }
       catch (System.Exception e)
       {
     future.err(Err.make(e));
       }
 }