summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ServerRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ServerRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/ServerRegistryI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/ServerRegistryI.cpp b/cpp/src/IcePack/ServerRegistryI.cpp
index 52ee9107ae3..03745c813a1 100644
--- a/cpp/src/IcePack/ServerRegistryI.cpp
+++ b/cpp/src/IcePack/ServerRegistryI.cpp
@@ -42,7 +42,7 @@ IcePack::ServerRegistryI::add(const string& name, const ServerPrx& server, const
return;
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
}
throw ServerExistsException();
@@ -89,7 +89,7 @@ IcePack::ServerRegistryI::findByName(const string& name, const Ice::Current&)
{
_dict.erase(p);
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
return ServerPrx::uncheckedCast(p->second);
}