From e5fa05955bcbb5ecbfbec341d004cfd8821bdafa Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Mon, 15 Oct 2012 13:26:17 -0400 Subject: Fixed Freeze destructors for C++11 (ICE-4878) --- cpp/src/Freeze/ObjectStore.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpp/src/Freeze/ObjectStore.cpp') 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(); } } -- cgit v1.2.3