Remove dynamic exceptions
[anna.git] / source / html / DocumentFile.cpp
index d14c1f2..c530921 100644 (file)
@@ -21,7 +21,7 @@ using namespace std;
 using namespace anna;
 
 _xmlDoc* html::DocumentFile::do_initialize(const char* filename)
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tf("anna::html::DocumentFile", "do_initialize", ANNA_FILE_LOCATION));
   _xmlDoc* result = NULL;
   a_filename = filename;
@@ -47,7 +47,7 @@ throw(RuntimeException) {
 }
 
 _xmlDoc* html::DocumentFile::do_initialize(const anna::DataBlock&)
-throw(RuntimeException) {
+noexcept(false) {
   throw RuntimeException("html::DocumentFile::do_initialize | Not implemented", ANNA_FILE_LOCATION);
   return NULL;
 }