summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index c2ffd7cbd82..14da19924e7 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -184,7 +184,7 @@ IceInternal::OutgoingAsyncMessageCallback::__warning(const InstancePtr& instance
if(instance->initializationData().properties->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0)
{
Warning out(instance->initializationData().logger);
- const Exception* ex = dynamic_cast<const ObjectNotExistException*>(&exc);
+ const Exception* ex = dynamic_cast<const Exception*>(&exc);
if(ex)
{
out << "Ice::Exception raised by AMI callback:\n" << ex;