projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
source
/
http
/
Request.cpp
diff --git
a/source/http/Request.cpp
b/source/http/Request.cpp
index
259b253
..
b403dcf
100644
(file)
--- 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
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);
if(a_uri == "")
throw RuntimeException("URI must have a value", ANNA_FILE_LOCATION);
@@
-26,7
+26,7
@@
throw(RuntimeException) {
}
string http::Request::asString() const
}
string http::Request::asString() const
-
throw()
{
+{
string result("http::Request { ");
result += Method::asString(a_method);
result += " | URI: ";
string result("http::Request { ");
result += Method::asString(a_method);
result += " | URI: ";