X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdbms.mysql%2FDatabase.hpp;h=47d321d7f67ab916c57b7dfe20aec564d0a0f9d4;hp=b9ad79eb9cf5373a79b1f781233768eafc7124b5;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/dbms.mysql/Database.hpp b/include/anna/dbms.mysql/Database.hpp index b9ad79e..47d321d 100644 --- a/include/anna/dbms.mysql/Database.hpp +++ b/include/anna/dbms.mysql/Database.hpp @@ -49,7 +49,7 @@ public: * Devuelve el nombre de la máquina anfitriona indicado en el constructor. * \return El nombre de la máquina anfitriona indicado en el constructor. */ - const char* getHost() const throw() { return a_host; } + const char* getHost() const { return a_host; } /** Devuelve la cadena por la que podemos buscar el componente. @@ -61,21 +61,21 @@ public: private: char* a_host; - void do_initialize() throw(RuntimeException); + void do_initialize() noexcept(false); dbms::Connection* allocateConnection(const std::string& name, const char* user, const char* password) - throw(RuntimeException); + noexcept(false); dbms::Statement* allocateStatement(const char* name, const std::string& expression, const bool isCritical) - throw(RuntimeException); + noexcept(false); dbms::InputBind* allocateInputBind(const char* name, Data&) - throw(RuntimeException); - void deallocate(dbms::InputBind* inputBind) throw(); + noexcept(false); + void deallocate(dbms::InputBind* inputBind) ; dbms::OutputBind* allocateOutputBind(const char* name, Data&) - throw(RuntimeException); - void deallocate(dbms::OutputBind* outputBind) throw(); + noexcept(false); + void deallocate(dbms::OutputBind* outputBind) ; }; #ifdef ANNA_RDBMS_TRACE