Remove dynamic exceptions
[anna.git] / source / xml / DTD.cpp
index 59c9b24..95074d3 100644 (file)
@@ -26,7 +26,7 @@ DTD::~DTD() {
 }
 
 void DTD::initialize(const char* content)
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tf("anna::xml::DTD", "initialize", ANNA_FILE_LOCATION));
   Guard guard(a_mutex);
 
@@ -39,7 +39,7 @@ throw(RuntimeException) {
 }
 
 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);