Remove dynamic exceptions
[anna.git] / source / http / MessageFactory.cpp
index 17195a5..05d039a 100644 (file)
@@ -11,7 +11,7 @@
 using namespace anna;
 
 http::Message* http::MessageFactory::create(const http::Message::Type::_v type)
-throw(RuntimeException) {
+noexcept(false) {
   if(type == Message::Type::Request)
     return a_requests.create();
   else
@@ -19,7 +19,7 @@ throw(RuntimeException) {
 }
 
 void http::MessageFactory::release(http::Message* message)
-throw() {
+{
   if(message == NULL)
     return;