From 18808c3fd9bb9050babb29141d76ccd06ece7965 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Sat, 22 Feb 2003 22:16:03 +0000 Subject: fixed bug with exceptions propagating from ice_response() --- cpp/src/slice2cpp/Gen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') 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; } -- cgit v1.2.3