Remove dynamic exceptions
[anna.git] / source / http / Request.cpp
index 259b253..b403dcf 100644 (file)
@@ -14,7 +14,7 @@ using namespace std;
 using namespace anna;
 
 string http::Request::codeStartLine() const
-throw(RuntimeException) {
+noexcept(false) {
   if(a_uri == "")
     throw RuntimeException("URI must have a value", ANNA_FILE_LOCATION);
 
@@ -26,7 +26,7 @@ throw(RuntimeException) {
 }
 
 string http::Request::asString() const
-throw() {
+{
   string result("http::Request { ");
   result += Method::asString(a_method);
   result += " | URI: ";