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;
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;
};