Remove dynamic exceptions
[anna.git] / source / dbos / Repository.cpp
index 49dd961..0e146a4 100644 (file)
@@ -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);