Remove dynamic exceptions
[anna.git] / include / anna / xml / DTDMemory.hpp
index b1c4b93..8f391de 100644 (file)
@@ -23,15 +23,17 @@ namespace xml {
 */
 class DTDMemory : public DTD {
 public:
+
   /**
-     Constructor.
+     Constructor
+     \param dtd Dtd representation
   */
-  DTDMemory();
+  DTDMemory(const char *dtd = NULL);
 
 private:
   std::string a_filename;
 
-  _xmlDtd* parse(const char* content) const throw(RuntimeException);
+  _xmlDtd* parse(const char* content) const noexcept(false);
 };
 
 }