diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-13 17:21:51 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-13 17:21:51 +0000 |
commit | aa8adac524c4206bb86bd7e9dbe744d57963ef3f (patch) | |
tree | a618c5d0c336bd16b5edf3fdeadc075588ffb0c4 /cpp/src/slice2cpp/Gen.cpp | |
parent | Modifications required for cleaning up thread-specific error queues. (diff) | |
download | ice-aa8adac524c4206bb86bd7e9dbe744d57963ef3f.tar.bz2 ice-aa8adac524c4206bb86bd7e9dbe744d57963ef3f.tar.xz ice-aa8adac524c4206bb86bd7e9dbe744d57963ef3f.zip |
fixed problem with collocated local exceptions
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 2aff386f41b..2141aaa1ee2 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1770,14 +1770,14 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p) C << nl << "throw;"; C << eb; } - C << nl << "catch(const ::Ice::LocalException&)"; - C << sb; - C << nl << "throw ::Ice::UnknownLocalException(__FILE__, __LINE__);"; - C << eb; C << nl << "catch(const ::Ice::UserException&)"; C << sb; C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);"; C << eb; + C << nl << "catch(const ::Ice::LocalException&)"; + C << sb; + C << nl << "throw;"; + C << eb; C << nl << "catch(...)"; C << sb; C << nl << "throw ::Ice::UnknownException(__FILE__, __LINE__);"; |