summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Freeze/EvictorI.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/Freeze/EvictorI.cpp b/cpp/src/Freeze/EvictorI.cpp
index 8dbbe503058..b022cbe0a52 100644
--- a/cpp/src/Freeze/EvictorI.cpp
+++ b/cpp/src/Freeze/EvictorI.cpp
@@ -210,7 +210,15 @@ Freeze::EvictorI::locate(const ObjectAdapterPtr& adapter, const string& ident, c
// Load the Ice Object from database and create and add a
// Servant for it.
//
- ObjectPtr servant = _db->getServant(ident);
+ ObjectPtr servant;
+ try
+ {
+ servant = _db->getServant(ident);
+ }
+ catch (const DBNotFoundException&)
+ {
+ }
+
if (!servant)
{
//