summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/LocatorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/LocatorI.cpp')
-rw-r--r--cpp/src/IcePack/LocatorI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IcePack/LocatorI.cpp b/cpp/src/IcePack/LocatorI.cpp
index ab2822d7fbf..57af5cf4a48 100644
--- a/cpp/src/IcePack/LocatorI.cpp
+++ b/cpp/src/IcePack/LocatorI.cpp
@@ -44,12 +44,14 @@ IcePack::LocatorI::findAdapterById(const string& id, const Ice::Current&) const
}
catch(const AdapterNotExistException&)
{
+ throw Ice::AdapterNotRegisteredException();
}
catch(const Ice::ObjectNotExistException&)
{
//
// Expected if the adapter is destroyed.
//
+ throw Ice::AdapterNotRegisteredException();
}
catch(const Ice::NoEndpointException&)
{