diff options
author | Marc Laukien <marc@zeroc.com> | 2003-02-22 22:16:03 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-02-22 22:16:03 +0000 |
commit | 18808c3fd9bb9050babb29141d76ccd06ece7965 (patch) | |
tree | 4b60d269d5656aa763480864d889d3dbf46aac80 /cpp/src/slice2cpp | |
parent | fixed AMD exception bug (diff) | |
download | ice-18808c3fd9bb9050babb29141d76ccd06ece7965.tar.bz2 ice-18808c3fd9bb9050babb29141d76ccd06ece7965.tar.xz ice-18808c3fd9bb9050babb29141d76ccd06ece7965.zip |
fixed bug with exceptions propagating from ice_response()
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 1e9688b7f6f..4da25e138b0 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3388,12 +3388,13 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) } C << eb; writeUnmarshalCode(C, outParams, ret); - C << nl << "ice_response(" << args << ");"; C << eb; C << nl << "catch(const ::Ice::Exception& __ex)"; C << sb; C << nl << "ice_exception(__ex);"; + C << nl << "return;"; C << eb; + C << nl << "ice_response(" << args << ");"; C << eb; } |