Remove dynamic exceptions
[anna.git] / source / xml / DTD.cc.new
index 5fd659f..25cc7c1 100644 (file)
@@ -19,7 +19,7 @@ DTD::~DTD ()
 }
 
 void DTD::initialize (const char* content)
-   throw (RuntimeException)
+   noexcept(false)
 {
    LOGMETHOD (TraceMethod tf ("anna::xml::DTD", "initialize", ANNA_FILE_LOCATION));
 
@@ -34,7 +34,7 @@ void DTD::initialize (const char* content)
 }
 
 void DTD::validate (_xmlValidCtxt* context, _xmlDoc* document) const 
-   throw (RuntimeException)
+   noexcept(false)
 {
    if (a_handle == NULL)
       throw RuntimeException ("'DTD::inicialize' was not called", ANNA_FILE_LOCATION);