Exemple #1
0
 public override void impossibleException_async(AMD_TestIntf_impossibleException cb, bool @throw,
                                                Ice.Current current)
 {
     if(@throw)
     {
         cb.ice_exception(new Test.TestImpossibleException());
     }
     else
     {
         //
         // Return a value so we can be sure that the stream position
         // is reset correctly iuf finished throws.
         //
         cb.ice_response("Hello");
     }
 }
Exemple #2
0
 public override void impossibleException_async(AMD_TestIntf_impossibleException cb, bool @throw,
                                                Ice.Current current)
 {
     if (@throw)
     {
         cb.ice_exception(new Test.TestImpossibleException());
     }
     else
     {
         //
         // Return a value so we can be sure that the stream position
         // is reset correctly iuf finished throws.
         //
         cb.ice_response("Hello");
     }
 }