summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-01-23 17:07:18 +0000
committerMarc Laukien <marc@zeroc.com>2004-01-23 17:07:18 +0000
commit19f638094baa01b7a776cad39345aef167ff7f3e (patch)
tree818afb5e0101c0b1dd10c693d5fe20081f5118f1 /cpp/src/Ice/OutgoingAsync.cpp
parentfor Matthew (diff)
downloadice-19f638094baa01b7a776cad39345aef167ff7f3e.tar.bz2
ice-19f638094baa01b7a776cad39345aef167ff7f3e.tar.xz
ice-19f638094baa01b7a776cad39345aef167ff7f3e.zip
added sendMutex
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index bb81b58f445..18041437e92 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -81,7 +81,17 @@ IceInternal::OutgoingAsync::__invoke()
{
_os->endWriteEncaps();
- _connection->sendAsyncRequest(this);
+ try
+ {
+ _connection->sendAsyncRequest(this);
+ }
+ catch(const LocalException&)
+ {
+ //
+ // Twoway requests report exceptions using finished().
+ //
+ assert(false);
+ }
if(_connection->timeout() >= 0)
{