X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fxml%2FDTD.cpp;h=95074d366302789e56b5cf89f996f0d3671c0660;hp=59c9b24e928561234aa70148df42c9b751fe1473;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/xml/DTD.cpp b/source/xml/DTD.cpp index 59c9b24..95074d3 100644 --- a/source/xml/DTD.cpp +++ b/source/xml/DTD.cpp @@ -26,7 +26,7 @@ DTD::~DTD() { } void DTD::initialize(const char* content) -throw(RuntimeException) { +noexcept(false) { LOGMETHOD(TraceMethod tf("anna::xml::DTD", "initialize", ANNA_FILE_LOCATION)); Guard guard(a_mutex); @@ -39,7 +39,7 @@ throw(RuntimeException) { } void DTD::validate(_xmlValidCtxt* context, _xmlDoc* document) const -throw(RuntimeException) { +noexcept(false) { if(a_handle == NULL) throw RuntimeException("'DTD::inicialize' was not called", ANNA_FILE_LOCATION);