示例#1
0
    public override void throwDerivedAsDerived_async(AMD_TestIntf_throwDerivedAsDerived cb, Ice.Current current)
    {
        DerivedException de = new DerivedException();

        de.sbe     = "sbe";
        de.pb      = new B();
        de.pb.sb   = "sb1";
        de.pb.pb   = de.pb;
        de.sde     = "sde1";
        de.pd1     = new D1();
        de.pd1.sb  = "sb2";
        de.pd1.pb  = de.pd1;
        de.pd1.sd1 = "sd2";
        de.pd1.pd1 = de.pd1;
        cb.ice_exception(de);
    }
示例#2
0
 public override void throwDerivedAsDerived_async(AMD_TestIntf_throwDerivedAsDerived cb, Ice.Current current)
 {
     DerivedException de = new DerivedException();
     de.sbe = "sbe";
     de.pb = new B();
     de.pb.sb = "sb1";
     de.pb.pb = de.pb;
     de.sde = "sde1";
     de.pd1 = new D1();
     de.pd1.sb = "sb2";
     de.pd1.pb = de.pd1;
     de.pd1.sd1 = "sd2";
     de.pd1.pd1 = de.pd1;
     cb.ice_exception(de);
 }