Remove dynamic exceptions
[anna.git] / source / html / Parser.cpp
index 430b55f..61428fb 100644 (file)
@@ -12,7 +12,7 @@ using namespace std;
 using namespace anna;
 
 const html::Node* html::Parser::getHead()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_head != NULL)
     return a_head;
 
@@ -25,7 +25,7 @@ throw(RuntimeException) {
 }
 
 const html::Node* html::Parser::getBody()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_body != NULL)
     return a_body;