diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-18 03:53:45 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-18 03:53:45 +0000 |
commit | fd6126b20ce3a252b26428c25d95ddf75f5e0b24 (patch) | |
tree | 691a1882ac4248e9860340e5cafe59d0071103c7 /cpp/src/slice2cpp/Gen.cpp | |
parent | fixes (diff) | |
download | ice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.tar.bz2 ice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.tar.xz ice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.zip |
fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 28326387ee8..ffc3c1f346c 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -803,8 +803,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p) } else { - C << nl << "_delegate = 0;"; - C << nl << "__ex.raise();"; + C << nl << "__rethrowException(*__ex.get());"; } C << eb; C << nl << "catch (const ::Ice::LocalException& __ex)"; @@ -1118,7 +1117,7 @@ Slice::Gen::DelegateMVisitor::visitOperation(const OperationPtr& p) C << sp; C << nl << retS << nl << "IceDelegateM" << scoped << paramsDecl; C << sb; - C << nl << "::IceInternal::Outgoing __out(__emitter(), __reference());"; + C << nl << "::IceInternal::Outgoing __out(__emitter, __reference);"; if (ret || !outParams.empty() || !throws.empty()) { C << nl << "::IceInternal::Stream* __is = __out.is();"; |