Remove dynamic exceptions
[anna.git] / source / dbms / Delivery.cpp
index 8ae88e4..5430a32 100644 (file)
@@ -17,7 +17,7 @@ using namespace std;
 using namespace anna;
 
 void  dbms::Delivery::createConnections(dbms::Database& database, const char* prefixName, const char* user, const char* password, const int n)
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
   string name;
 
   for(int i = 0; i < n;  i ++) {
@@ -30,7 +30,7 @@ throw(RuntimeException, dbms::DatabaseException) {
 }
 
 dbms::Connection& dbms::Delivery::getConnection()
-throw(RuntimeException) {
+noexcept(false) {
   return *(static_cast <dbms::Connection*>(comm::Delivery::apply()));
 }
 
@@ -40,7 +40,7 @@ throw(RuntimeException) {
 // (0) Si no hay registrada ninguna conexion
 //--------------------------------------------------------------------------------------------------
 comm::Resource* dbms::Delivery::do_apply()
-throw(RuntimeException) {
+noexcept(false) {
   iterator maxii = end();
 
   if(a_iiConnection == maxii)                                          // (0)