X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbms.mysql%2FStatement.cpp;fp=source%2Fdbms.mysql%2FStatement.cpp;h=3c38364c151797e0a9cbec00b27cdba599b9042c;hp=df18acc09784ac358f1ab206874f45d3114afc25;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/dbms.mysql/Statement.cpp b/source/dbms.mysql/Statement.cpp index df18acc..3c38364 100644 --- a/source/dbms.mysql/Statement.cpp +++ b/source/dbms.mysql/Statement.cpp @@ -34,7 +34,7 @@ dbms::mysql::Statement::~Statement() { * */ void dbms::mysql::Statement::prepare(dbms::Connection* dbmsConnection) -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { LOGMETHOD(TraceMethod tm("anna::dbms::mysql::Statement", "prepare", ANNA_FILE_LOCATION)); Connection* connection(static_cast (dbmsConnection)); //Database& dbms(static_cast (connection->getDatabase())); @@ -127,7 +127,7 @@ throw(RuntimeException, dbms::DatabaseException) { } dbms::ResultCode dbms::mysql::Statement::execute(dbms::Connection* dbmsConnection) -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { //Connection* connection(static_cast (dbmsConnection)); for(input_iterator ii = input_begin(), maxii = input_end(); ii != maxii; ii ++) { @@ -148,7 +148,7 @@ throw(RuntimeException, dbms::DatabaseException) { * Según la información de http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-fetch.html */ bool dbms::mysql::Statement::fetch() -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { bool result = false; switch(mysql_stmt_fetch(a_mysqlStmt)) { @@ -177,7 +177,7 @@ throw(RuntimeException, dbms::DatabaseException) { } st_mysql_bind* dbms::mysql::Statement::create(const int size, const char* whatis) -throw(RuntimeException) { +noexcept(false) { st_mysql_bind* result = NULL; if(size > 0) {