Beispiel #1
0
    public override void throwPreservedException_async(AMD_TestIntf_throwPreservedException cb, Ice.Current current)
    {
        PSUnknownException ue = new PSUnknownException();

        ue.p    = new PSUnknown2();
        ue.p.pi = 5;
        ue.p.ps = "preserved";
        ue.p.pb = ue.p;
        cb.ice_exception(ue);
        ue.p.pb = null; // Break the cycle.
    }
Beispiel #2
0
 public override void throwPreservedException_async(AMD_TestIntf_throwPreservedException cb, Ice.Current current)
 {
     PSUnknownException ue = new PSUnknownException();
     ue.p = new PSUnknown2();
     ue.p.pi = 5;
     ue.p.ps = "preserved";
     ue.p.pb = ue.p;
     cb.ice_exception(ue);
     ue.p.pb = null; // Break the cycle.
 }