X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdbms.mysql%2FDatabase.hpp;h=47d321d7f67ab916c57b7dfe20aec564d0a0f9d4;hb=cef452116c2966d7eaa65ff31ee7613bf3ae1b93;hp=b1524926023d6b1dcbebf15bded20d52467b444d;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/dbms.mysql/Database.hpp b/include/anna/dbms.mysql/Database.hpp index b152492..47d321d 100644 --- a/include/anna/dbms.mysql/Database.hpp +++ b/include/anna/dbms.mysql/Database.hpp @@ -49,33 +49,33 @@ 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. \return La cadena por la que podemos buscar el componente. \see Application::find */ - static const char* getClassName() { return "dbms::mysql::Database"; } + static const char* getClassName() { return "anna::dbms::mysql::Database"; } 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