X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fxml%2FDTDFile.hpp;h=15b45e624e7fda5d60fa7c7f515400c05e92b0cb;hb=cef452116c2966d7eaa65ff31ee7613bf3ae1b93;hp=0068cedb3fe1741b36bb03b5edaeb7b2f0214d8d;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/xml/DTDFile.hpp b/include/anna/xml/DTDFile.hpp index 0068ced..15b45e6 100644 --- a/include/anna/xml/DTDFile.hpp +++ b/include/anna/xml/DTDFile.hpp @@ -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); }; }