summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/NodeRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/NodeRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/NodeRegistryI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePack/NodeRegistryI.cpp b/cpp/src/IcePack/NodeRegistryI.cpp
index 4e7377e2afc..eae4cbb2108 100644
--- a/cpp/src/IcePack/NodeRegistryI.cpp
+++ b/cpp/src/IcePack/NodeRegistryI.cpp
@@ -35,7 +35,7 @@ IcePack::NodeRegistryI::NodeRegistryI(const Freeze::DBPtr& db,
{
remove(p->first);
}
- catch(const Ice::RuntimeException& ex)
+ catch(const Ice::LocalException& ex)
{
}
}
@@ -54,7 +54,7 @@ IcePack::NodeRegistryI::add(const string& name, const NodePrx& node, const Ice::
p->second->ice_ping();
throw NodeActiveException();
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
//
// Node not active.
@@ -155,7 +155,7 @@ IcePack::NodeRegistryI::findByName(const string& name, const Ice::Current&)
catch(const Ice::ObjectNotExistException&)
{
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
return NodePrx::uncheckedCast(p->second);
}