diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-09-25 19:44:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-09-25 19:44:41 +0200 |
commit | 02bafd89a09d3de39b1c6ed301cd36bf73c8589d (patch) | |
tree | 2298ab24c5ed8dbd384abdb8fdced8fbd376a83c /cpp/src | |
parent | Fixed bug 3456 (diff) | |
download | ice-02bafd89a09d3de39b1c6ed301cd36bf73c8589d.tar.bz2 ice-02bafd89a09d3de39b1c6ed301cd36bf73c8589d.tar.xz ice-02bafd89a09d3de39b1c6ed301cd36bf73c8589d.zip |
Fixed bug 3457
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index 14da19924e7..788cb2cb373 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -174,7 +174,7 @@ IceInternal::OutgoingAsyncMessageCallback::__warning(const std::exception& exc) { if(__os) // Don't print anything if release() was already called. { - __warning(__os->instance()); + __warning(__os->instance(), exc); } } @@ -187,7 +187,7 @@ IceInternal::OutgoingAsyncMessageCallback::__warning(const InstancePtr& instance const Exception* ex = dynamic_cast<const Exception*>(&exc); if(ex) { - out << "Ice::Exception raised by AMI callback:\n" << ex; + out << "Ice::Exception raised by AMI callback:\n" << *ex; } else { @@ -434,7 +434,7 @@ IceInternal::OutgoingAsync::__finished(const Ice::LocalException& exc) } void -IceInternal::OutgoingAsync::__finished(const LocalExceptionWrapper& ex) +IceInternal::OutgoingAsync::__finished(const LocalExceptionWrapper& exc) { assert(__os && !_sent); @@ -446,7 +446,7 @@ IceInternal::OutgoingAsync::__finished(const LocalExceptionWrapper& ex) try { - handleException(ex); // This will throw if the invocation can't be retried. + handleException(exc); // This will throw if the invocation can't be retried. } catch(const Ice::LocalException& ex) { |