Remove dynamic exceptions
[anna.git] / source / html / DocumentMemory.cpp
index 779e53f..2807600 100644 (file)
@@ -19,7 +19,7 @@ using namespace std;
 using namespace anna;
 
 _xmlDoc* html::DocumentMemory::do_initialize(const char* content)
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tf("html::DocumentMemory", "do_initialize", ANNA_FILE_LOCATION));
   setContent(content);
   _xmlDoc* result = NULL;
@@ -37,7 +37,7 @@ throw(RuntimeException) {
 }
 
 _xmlDoc* html::DocumentMemory::do_initialize(const anna::DataBlock& contain)
-throw(RuntimeException) {
+noexcept(false) {
   throw RuntimeException("html::DocumentMemory::do_initialize | Not implemented", ANNA_FILE_LOCATION);
   return NULL;
 }