diff options
author | Marc Laukien <marc@zeroc.com> | 2004-11-01 17:28:56 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-11-01 17:28:56 +0000 |
commit | 13bed028fb55ba1caeb4af15d1a18b1778a9e378 (patch) | |
tree | f2c9b11446bec453488d20249842962d396bb201 /cpp/src/slice2cpp | |
parent | more glacier2 work (diff) | |
download | ice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.tar.bz2 ice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.tar.xz ice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.zip |
AMD and dispatch exception handling fixes
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 221da646fc4..ddd280da4a7 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -4103,8 +4103,6 @@ Slice::Gen::AsyncImplVisitor::visitOperation(const OperationPtr& p) C << sp << nl << "void" << nl << "IceAsync" << classScopedAMD << '_' << name << "::ice_response(" << paramsDecl << ')'; C << sb; - C << nl << "if(!_finished)"; - C << sb; if(ret || !outParams.empty()) { C << nl << "try"; @@ -4124,13 +4122,10 @@ Slice::Gen::AsyncImplVisitor::visitOperation(const OperationPtr& p) } C << nl << "__response(true);"; C << eb; - C << eb; C << sp << nl << "void" << nl << "IceAsync" << classScopedAMD << '_' << name << "::ice_exception(const ::Ice::Exception& ex)"; C << sb; - C << nl << "if(!_finished)"; - C << sb; if(throws.empty()) { C << nl << "__exception(ex);"; @@ -4160,23 +4155,16 @@ Slice::Gen::AsyncImplVisitor::visitOperation(const OperationPtr& p) C << eb; } C << eb; - C << eb; C << sp << nl << "void" << nl << "IceAsync" << classScopedAMD << '_' << name << "::ice_exception(const ::std::exception& ex)"; C << sb; - C << nl << "if(!_finished)"; - C << sb; C << nl << "__exception(ex);"; C << eb; - C << eb; C << sp << nl << "void" << nl << "IceAsync" << classScopedAMD << '_' << name << "::ice_exception()"; C << sb; - C << nl << "if(!_finished)"; - C << sb; C << nl << "__exception();"; C << eb; - C << eb; } |