summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/AdapterRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/AdapterRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/AdapterRegistryI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/AdapterRegistryI.cpp b/cpp/src/IcePack/AdapterRegistryI.cpp
index a9271afdbb2..dc1884a99ce 100644
--- a/cpp/src/IcePack/AdapterRegistryI.cpp
+++ b/cpp/src/IcePack/AdapterRegistryI.cpp
@@ -42,7 +42,7 @@ IcePack::AdapterRegistryI::add(const string& name, const AdapterPrx& adapter, co
return;
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
}
throw AdapterExistsException();
@@ -88,7 +88,7 @@ IcePack::AdapterRegistryI::findByName(const string& name, const Ice::Current&)
{
_dict.erase(p);
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
return AdapterPrx::uncheckedCast(p->second);
}