summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-09-12 09:55:57 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-09-12 09:55:57 +0000
commit5b603a64e42662c07fc7cc2d53c2f8eda8236af7 (patch)
tree35612fd0bcf7edf7b65380cf27054085fb3e01ed /cpp/src/IceGrid/Database.cpp
parentFixes for windows for IceStormPerSubscriberPublisher (diff)
downloadice-5b603a64e42662c07fc7cc2d53c2f8eda8236af7.tar.bz2
ice-5b603a64e42662c07fc7cc2d53c2f8eda8236af7.tar.xz
ice-5b603a64e42662c07fc7cc2d53c2f8eda8236af7.zip
Fix
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 1f777a3675f..77d79edcd96 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -628,7 +628,15 @@ Database::removeApplication(const string& name, AdminSessionI* session)
if(session)
{
- for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync));
+ try
+ {
+ for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync));
+ }
+ catch(const DeploymentException& ex)
+ {
+ Ice::Error err(_traceLevels->logger);
+ err << "unexpected deployment exception while removing application `" << name << "':\n" << ex.reason;
+ }
}
else
{