Remove dynamic exceptions
[anna.git] / include / anna / dbms.mysql / Database.hpp
index b9ad79e..47d321d 100644 (file)
@@ -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