Beispiel #1
0
 public override void throwAorDasAorD_async(AMD_Thrower_throwAorDasAorD cb, int a, Ice.Current current)
 {
     if(a > 0)
     {
         A ex = new A();
         ex.aMem = a;
         cb.ice_exception(ex);
     }
     else
     {
         D ex = new D();
         ex.dMem = a;
         cb.ice_exception(ex);
     }
 }
Beispiel #2
0
 public override void throwAorDasAorD_async(AMD_Thrower_throwAorDasAorD cb, int a, Ice.Current current)
 {
     if (a > 0)
     {
         A ex = new A();
         ex.aMem = a;
         cb.ice_exception(ex);
     }
     else
     {
         D ex = new D();
         ex.dMem = a;
         cb.ice_exception(ex);
     }
 }