summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/Ice/LocatorInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp
index a1c8623c382..ae3936fccb2 100644
--- a/cpp/src/Ice/LocatorInfo.cpp
+++ b/cpp/src/Ice/LocatorInfo.cpp
@@ -447,7 +447,7 @@ IceInternal::LocatorInfo::Request::addCallback(const ReferencePtr& ref,
{
rethrow_exception(_exception);
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::Exception& ex)
{
callback->exception(_locatorInfo, ex);
}
@@ -491,7 +491,7 @@ IceInternal::LocatorInfo::Request::getEndpoints(const ReferencePtr& ref,
{
rethrow_exception(_exception);
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::Exception& ex)
{
_locatorInfo->getEndpointsException(ref, ex); // This throws.
}