summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-13 17:21:51 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-13 17:21:51 +0000
commitaa8adac524c4206bb86bd7e9dbe744d57963ef3f (patch)
treea618c5d0c336bd16b5edf3fdeadc075588ffb0c4 /cpp/src/slice2cpp/Gen.cpp
parentModifications required for cleaning up thread-specific error queues. (diff)
downloadice-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.cpp8
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__);";