X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fxml%2FDTD.hpp;h=361b53dcfb1e154b5debd9bfdfc9d6535747e407;hp=6c8948c2a47554eb481a6712f3a1017df2cce8fe;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/xml/DTD.hpp b/include/anna/xml/DTD.hpp index 6c8948c..361b53d 100644 --- a/include/anna/xml/DTD.hpp +++ b/include/anna/xml/DTD.hpp @@ -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; };