Remove dynamic exceptions
[anna.git] / include / anna / dbos / Creator.hpp
index 2f806cd..0917211 100644 (file)
@@ -27,7 +27,7 @@ public:
      a la que pertenece la clase.
      \return Una cadena con el nombre de este selector.
   */
-  virtual const char* getClassName() const throw() { return "anna::dbos::Creator"; }
+  virtual const char* getClassName() const { return "anna::dbos::Creator"; }
 
 protected:
   /**
@@ -48,10 +48,10 @@ protected:
      Devuelve el indice usado para ubicar en memoria el objeto que vamos a cargar.
      @return El indice usado para ubicar en memoria el objeto que vamos a cargar.
   */
-  virtual Index getIndex() const throw(RuntimeException) = 0;
+  virtual Index getIndex() const noexcept(false) = 0;
 
 private:
-  dbms::Statement* initialize(dbms::Database&) throw(RuntimeException) { return NULL;}
+  dbms::Statement* initialize(dbms::Database&) noexcept(false) { return NULL;}
 
   friend class StorageArea;
 };