diff options
Diffstat (limited to 'cpp/src/IceGrid/AdapterCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/AdapterCache.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/src/IceGrid/AdapterCache.cpp b/cpp/src/IceGrid/AdapterCache.cpp index 04b763f3527..583ac2663fc 100644 --- a/cpp/src/IceGrid/AdapterCache.cpp +++ b/cpp/src/IceGrid/AdapterCache.cpp @@ -398,7 +398,6 @@ ReplicaGroupEntry::getProxies(int& nReplicas, bool& replicaGroup) // reachable. // vector<pair<string, AdapterPrx> > adapters; - auto_ptr<Ice::Exception> exception; for(ReplicaSeq::const_iterator p = replicas.begin(); p != replicas.end(); ++p) { try @@ -411,20 +410,11 @@ ReplicaGroupEntry::getProxies(int& nReplicas, bool& replicaGroup) catch(const Ice::InvalidReplicaGroupIdException&) { } - catch(const Ice::Exception& ex) + catch(const NodeUnreachableException&) { - if(!exception.get()) - { - exception.reset(ex.ice_clone()); - } } } - if(exception.get()) - { - exception->ice_throw(); - } - return adapters; } |