X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbos%2FRepository.cpp;fp=source%2Fdbos%2FRepository.cpp;h=0e146a4c2ca7a1ffc9ee5133592dbb4cd9c94c9b;hp=49dd9611112f6cf27c2d3b5277123153dff30dd4;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/dbos/Repository.cpp b/source/dbos/Repository.cpp index 49dd961..0e146a4 100644 --- a/source/dbos/Repository.cpp +++ b/source/dbos/Repository.cpp @@ -31,7 +31,7 @@ dbos::Repository::Repository(const std::string& name) : } dbos::StorageArea* dbos::Repository::createStorageArea(const dbos::StorageId index, const char* name, const dbos::Size maxSize, dbos::ObjectAllocator objectAllocator, const int errorCode, const StorageArea::AccessMode::_v accessMode) -throw(RuntimeException) { +noexcept(false) { Guard guard(this, "dbos::Repository from createStorageArea"); storage_iterator ii = a_storageAreas.find(index) ; @@ -54,14 +54,14 @@ throw(RuntimeException) { } dbos::StorageArea* dbos::Repository::findStorageArea(const dbos::StorageId index) -throw() { +{ Guard guard(this, "dbos::Repository from findStorageArea"); storage_iterator ii = a_storageAreas.find(index); return (ii != a_storageAreas.end()) ? storageArea(ii) : NULL; } void dbos::Repository::clear() -throw(RuntimeException) { +noexcept(false) { Guard guard(this, "dbos::Repository from clear"); LOGWARNING( string msg("dbos::Repository::clear | Name: "); @@ -74,7 +74,7 @@ throw(RuntimeException) { } xml::Node* dbos::Repository::asXML(xml::Node* parent) const -throw() { +{ xml::Node* result = parent->createChild("dbos.Repository"); dbos::Size maxSize(0); dbos::Size size(0);