summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ReplicaCache.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2013-04-04 16:02:42 -0700
committerMark Spruiell <mes@zeroc.com>2013-04-04 16:02:42 -0700
commit9cb665138c7d2422739e32b40a249c64fd3b6cd5 (patch)
tree94759d916599ca08761b98580185a230744ac67a /cpp/src/IceGrid/ReplicaCache.cpp
parentx64 VC10 icexml35d.dll was linked to wrong file (diff)
downloadice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.tar.bz2
ice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.tar.xz
ice-9cb665138c7d2422739e32b40a249c64fd3b6cd5.zip
* SOCKS support for C++
* Minor cleanup in C# * Unity fixes
Diffstat (limited to 'cpp/src/IceGrid/ReplicaCache.cpp')
-rw-r--r--cpp/src/IceGrid/ReplicaCache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/ReplicaCache.cpp b/cpp/src/IceGrid/ReplicaCache.cpp
index fefad619293..dc406a700dc 100644
--- a/cpp/src/IceGrid/ReplicaCache.cpp
+++ b/cpp/src/IceGrid/ReplicaCache.cpp
@@ -83,7 +83,7 @@ ReplicaCache::add(const string& name, const ReplicaSessionIPtr& session)
{
_observers->replicaAdded(session->getInternalRegistry());
}
- catch(const Ice::ConnectionRefusedException&)
+ catch(const Ice::ConnectFailedException&)
{
// Expected if the replica is being shutdown.
}
@@ -122,7 +122,7 @@ ReplicaCache::remove(const string& name, bool shutdown)
{
_observers->replicaRemoved(entry->getProxy());
}
- catch(const Ice::ConnectionRefusedException&)
+ catch(const Ice::ConnectFailedException&)
{
// Expected if the replica is being shutdown.
}
@@ -171,7 +171,7 @@ ReplicaCache::subscribe(const ReplicaObserverPrx& observer)
Ice::ObjectPrx publisher = _topic->subscribeAndGetPublisher(qos, observer->ice_twoway());
ReplicaObserverPrx::uncheckedCast(publisher)->replicaInit(replicas);
}
- catch(const Ice::ConnectionRefusedException&)
+ catch(const Ice::ConnectFailedException&)
{
// The replica is being shutdown.
}
@@ -193,7 +193,7 @@ ReplicaCache::unsubscribe(const ReplicaObserverPrx& observer)
{
_topic->unsubscribe(observer);
}
- catch(const Ice::ConnectionRefusedException&)
+ catch(const Ice::ConnectFailedException&)
{
// The replica is being shutdown.
}