summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-04 20:45:04 +0000
committerJose <jose@zeroc.com>2018-06-04 20:45:04 +0000
commit8b221cc5a17ba64836a687e17cbbf46d9ac8b359 (patch)
treefc2e38bc42ea5c489ff137b9e92be023f99378ae /cpp/src/IceGrid/Database.cpp
parentFix TestHelper unused variable with iOS build (diff)
downloadice-8b221cc5a17ba64836a687e17cbbf46d9ac8b359.tar.bz2
ice-8b221cc5a17ba64836a687e17cbbf46d9ac8b359.tar.xz
ice-8b221cc5a17ba64836a687e17cbbf46d9ac8b359.zip
Missing throw statement
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 60f9556435e..985631371a1 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -1628,7 +1628,7 @@ Database::updateObject(const Ice::ObjectPrx& proxy)
if(!_objects.get(txn, id, info))
{
- ObjectNotRegisteredException(id);
+ throw ObjectNotRegisteredException(id);
}
info.proxy = proxy;
addObject(txn, info, false);