summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-12-03 16:23:30 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-12-03 16:23:30 -0330
commit0b13609cfcfd33ffc4af394b59ac34a9ee57b07e (patch)
tree04404d79f76f6e80f1f17910b812d73c0cd14a97 /cpp/src/Ice/OutgoingAsync.cpp
parentDisable a couple of tests for C++Builder 2010 (diff)
downloadice-0b13609cfcfd33ffc4af394b59ac34a9ee57b07e.tar.bz2
ice-0b13609cfcfd33ffc4af394b59ac34a9ee57b07e.tar.xz
ice-0b13609cfcfd33ffc4af394b59ac34a9ee57b07e.zip
Bug 4407 - Fixed C++Builder test failure
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 654ab9becba..bdd5b1ea0c3 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -280,14 +280,10 @@ Ice::AsyncResult::__exceptionAsync(const Ice::Exception& ex)
// from this thread. Instead the exception callback is called asynchronously from
// the client thread pool.
//
- try
- {
- _instance->clientThreadPool()->execute(new AsynchronousException(_instance, this, ex));
- }
- catch(const Ice::CommunicatorDestroyedException&)
- {
- throw; // CommunicatorDestroyedException is the only exception that can propagate directly.
- }
+ // CommunicatorDestroyedException is the only exception that can propagate directly
+ // from this method.
+ //
+ _instance->clientThreadPool()->execute(new AsynchronousException(_instance, this, ex));
}
void