X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdbms.mysql%2FStatement.hpp;fp=include%2Fanna%2Fdbms.mysql%2FStatement.hpp;h=5c18b68929b379dcdac2b492ddd046a5a6842888;hp=48c9f862e2044e6089716f768895d0ff10358acc;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/dbms.mysql/Statement.hpp b/include/anna/dbms.mysql/Statement.hpp index 48c9f86..5c18b68 100644 --- a/include/anna/dbms.mysql/Statement.hpp +++ b/include/anna/dbms.mysql/Statement.hpp @@ -44,21 +44,21 @@ public: Operador de conversion. \return El puntero MYSQL_STMT de esta sentencia. */ - operator st_mysql_stmt*() throw() { return a_mysqlStmt; } + operator st_mysql_stmt*() { return a_mysqlStmt; } /** * Obtiene el array asociado a los valores de entrada. * \return El array asociado a los valores de entrada. * \warning Exclusivamente uso interno. */ - st_mysql_bind* getBindParams() throw() { return a_params; } + st_mysql_bind* getBindParams() { return a_params; } /** * Obtiene el array asociado a los valores de salida. * \return El array asociado a los valores de salida. * \warning Exclusivamente uso interno. */ - st_mysql_bind* getBindResults() throw() { return a_results; } + st_mysql_bind* getBindResults() { return a_results; } private: st_mysql_stmt* a_mysqlStmt; @@ -78,11 +78,11 @@ private: a_params(NULL), a_results(NULL) {} - st_mysql_bind* create(const int size, const char* whatis) throw(RuntimeException); + st_mysql_bind* create(const int size, const char* whatis) noexcept(false); - void prepare(dbms::Connection* connection) throw(RuntimeException, DatabaseException); - dbms::ResultCode execute(dbms::Connection* connection) throw(RuntimeException, DatabaseException); - bool fetch() throw(RuntimeException, DatabaseException); + void prepare(dbms::Connection* connection) noexcept(false); + dbms::ResultCode execute(dbms::Connection* connection) noexcept(false); + bool fetch() noexcept(false); friend class Database; };