Remove dynamic exceptions
[anna.git] / include / anna / dbms.oracle / Database.hpp
index 39d9d5f..f9a3431 100644 (file)
@@ -51,13 +51,13 @@ public:
      Devuelve el manejador de error asociado a esta base de datos.
      \return El manejador de error asociado a esta base de datos.
   */
-  OCIError* getErrorHandler() throw() { return a_error; }
+  OCIError* getErrorHandler() { return a_error; }
 
   /**
      Operador de conversion.
      \return El puntero al entorno asociado a esta base de datos.
   */
-  operator OCIEnv*() throw() { return a_env; }
+  operator OCIEnv*() { return a_env; }
 
   /**
      Devuelve la cadena por la que podemos buscar el componente.
@@ -74,7 +74,7 @@ public:
    *
    * \warning Metodo exclusivamente de uso interno.
    */
-  static char getDecimalPoint() throw() { return st_decimalPoint; }
+  static char getDecimalPoint() { return st_decimalPoint; }
 
 private:
   OCIEnv* a_env;
@@ -82,23 +82,23 @@ private:
 
   static char st_decimalPoint;
 
-  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) ;
 
-  static void initializeDecimalPoint() throw(RuntimeException);
+  static void initializeDecimalPoint() noexcept(false);
 };
 
 #ifdef ANNA_RDBMS_TRACE