Remove dynamic exceptions
[anna.git] / include / anna / dbms.mysql / Statement.hpp
index 48c9f86..5c18b68 100644 (file)
@@ -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;
 };