summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-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