Remove dynamic exceptions
[anna.git] / include / anna / xml / DTDFile.hpp
index 0068ced..15b45e6 100644 (file)
@@ -20,13 +20,15 @@ namespace xml {
 */
 class DTDFile : public DTD {
 public:
+
   /**
-     Constructor.
+     Constructor
+     \param file File name
   */
-  DTDFile() {;}
+  DTDFile(const char *file = NULL) { if (file) initialize(file); }
 
 private:
-  _xmlDtd* parse(const char* fileName) const throw(RuntimeException);
+  _xmlDtd* parse(const char* fileName) const noexcept(false);
 };
 
 }