Remove dynamic exceptions
[anna.git] / include / anna / xml / DTD.hpp
index 6c8948c..361b53d 100644 (file)
@@ -65,7 +65,7 @@ public:
      \param content Contenido de la DTD, depedendiendo del tipo de DTD hara referencia
      a un nombre de archivo, una URI o a una cadena.
   */
-  void initialize(const char* content) throw(RuntimeException);
+  void initialize(const char* content) noexcept(false);
 
 protected:
   /**
@@ -77,8 +77,8 @@ private:
   Mutex a_mutex;
   _xmlDtd* a_handle;
 
-  void validate(_xmlValidCtxt* context, _xmlDoc* document) const throw(RuntimeException);
-  virtual _xmlDtd* parse(const char* content) const throw(RuntimeException) = 0;
+  void validate(_xmlValidCtxt* context, _xmlDoc* document) const noexcept(false);
+  virtual _xmlDtd* parse(const char* content) const noexcept(false) = 0;
 
   friend class Parser;
 };