summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ReplicaCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ReplicaCache.cpp')
-rw-r--r--cpp/src/IceGrid/ReplicaCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ReplicaCache.cpp b/cpp/src/IceGrid/ReplicaCache.cpp
index f0a22e58d06..119b54d4b92 100644
--- a/cpp/src/IceGrid/ReplicaCache.cpp
+++ b/cpp/src/IceGrid/ReplicaCache.cpp
@@ -122,7 +122,7 @@ ReplicaCache::remove(const string& name, bool shutdown)
{
_observers->replicaRemoved(entry->getProxy());
}
- catch(const Ice::ConnectFailedException&)
+ catch(const Ice::ObjectAdapterDeactivatedException&)
{
// Expected if the replica is being shutdown.
}
@@ -193,7 +193,7 @@ ReplicaCache::unsubscribe(const ReplicaObserverPrx& observer)
{
_topic->unsubscribe(observer);
}
- catch(const Ice::ConnectFailedException&)
+ catch(const Ice::ObjectAdapterDeactivatedException&)
{
// The replica is being shutdown.
}