X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fhttp%2FRequest.cpp;fp=source%2Fhttp%2FRequest.cpp;h=b403dcf5760bb35cb246497cc0c90507a335adef;hp=259b253dfad7be9df78419bb3ebf38b868024f8f;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/http/Request.cpp b/source/http/Request.cpp index 259b253..b403dcf 100644 --- a/source/http/Request.cpp +++ b/source/http/Request.cpp @@ -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: ";