X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbms%2FDelivery.cpp;fp=source%2Fdbms%2FDelivery.cpp;h=5430a32bc3f67a8b992aca21a88f9cd217496891;hp=8ae88e4bdd0515c1a5928a9bdd52132eda172ace;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/dbms/Delivery.cpp b/source/dbms/Delivery.cpp index 8ae88e4..5430a32 100644 --- a/source/dbms/Delivery.cpp +++ b/source/dbms/Delivery.cpp @@ -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 (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)