Remove dynamic exceptions
[anna.git] / source / xml / DocumentMemory.cpp
index 4b7ccf5..95f7943 100644 (file)
@@ -20,7 +20,7 @@ using namespace anna;
 using namespace anna::xml;
 
 _xmlDoc* DocumentMemory::do_initialize(const char* content)
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tf("anna::xml::DocumentMemory", "do_initialize (char*)", ANNA_FILE_LOCATION));
   setContent(content);
   _xmlDoc* result;
@@ -41,7 +41,7 @@ throw(RuntimeException) {
 }
 
 _xmlDoc* DocumentMemory::do_initialize(const anna::DataBlock& content)
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tf("anna::xml::DocumentMemory", "do_initialize (DataBlock)", ANNA_FILE_LOCATION));
   setContent(content);
   _xmlDoc* result;