Remove dynamic exceptions
[anna.git] / source / xml / DocumentFile.cpp
index f5ac226..824d99b 100644 (file)
@@ -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)