X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fxml%2FDocumentFile.cpp;fp=source%2Fxml%2FDocumentFile.cpp;h=824d99b18a8c29b1fe00e61b3770f0873f3c7154;hp=f5ac226b40995e2390a982eab32998c9fbe96289;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/xml/DocumentFile.cpp b/source/xml/DocumentFile.cpp index f5ac226..824d99b 100644 --- a/source/xml/DocumentFile.cpp +++ b/source/xml/DocumentFile.cpp @@ -27,7 +27,7 @@ using namespace anna; using namespace anna::xml; _xmlDoc* DocumentFile::do_initialize(const char* filename) -throw(RuntimeException) { +noexcept(false) { LOGMETHOD(TraceMethod tf("anna::xml::DocumentFile", "do_initialize", ANNA_FILE_LOCATION)); _xmlDoc* result; a_filename = filename; @@ -53,14 +53,14 @@ throw(RuntimeException) { } _xmlDoc* DocumentFile::do_initialize(const anna::DataBlock&) -throw(RuntimeException) { +noexcept(false) { throw RuntimeException("xml::DocumentFile::do_initialize | Not implemented", ANNA_FILE_LOCATION); return NULL; } const anna::DataBlock& DocumentFile::getContent() const -throw(RuntimeException) { +noexcept(false) { const anna::DataBlock& result = Document::getContent(); if(result.isEmpty() == false)