diff options
author | Bernard Normier <bernard@zeroc.com> | 2012-10-15 13:26:17 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2012-10-15 13:26:17 -0400 |
commit | e5fa05955bcbb5ecbfbec341d004cfd8821bdafa (patch) | |
tree | 31e863059eca13c850f06872e8067f02009a148a /cpp/src/Freeze/ObjectStore.cpp | |
parent | WinRT fixes (diff) | |
download | ice-e5fa05955bcbb5ecbfbec341d004cfd8821bdafa.tar.bz2 ice-e5fa05955bcbb5ecbfbec341d004cfd8821bdafa.tar.xz ice-e5fa05955bcbb5ecbfbec341d004cfd8821bdafa.zip |
Fixed Freeze destructors for C++11 (ICE-4878)
Diffstat (limited to 'cpp/src/Freeze/ObjectStore.cpp')
-rw-r--r-- | cpp/src/Freeze/ObjectStore.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/Freeze/ObjectStore.cpp b/cpp/src/Freeze/ObjectStore.cpp index 99a09af7b98..e8801a1b3c7 100644 --- a/cpp/src/Freeze/ObjectStore.cpp +++ b/cpp/src/Freeze/ObjectStore.cpp @@ -214,9 +214,8 @@ Freeze::ObjectStoreBase::~ObjectStoreBase() } catch(const DbException& dx) { - DatabaseException ex(__FILE__, __LINE__); - ex.message = dx.what(); - throw ex; + Ice::Error error(_communicator->getLogger()); + error << "Freeze: closing ObjectStore " << _dbName << " raised DbException: " << dx.what(); } } |