Remove dynamic exceptions
[anna.git] / source / http / Handler.cpp
index 677c702..44231c2 100644 (file)
@@ -29,7 +29,7 @@ http::Handler::~Handler() {
 // (1) Si ha llegado hasta aqui deberia ser porque el mensaje recibido es del protocolo HTTP.
 //------------------------------------------------------------------------------------------------
 void http::Handler::apply(comm::ClientSocket& clientSocket, const comm::Message& message)
-throw(RuntimeException) {
+noexcept(false) {
   if(clientSocket.support(http::Transport::className()) == false) {
     LOGWARNING(
       string msg("anna::http::Handler::apply | Incoming ClientSocket has no support for HTTP | Message: ");
@@ -69,7 +69,7 @@ throw(RuntimeException) {
 }
 
 http::Response* http::Handler::allocateResponse()
-throw() {
+{
   return (a_response == NULL) ? (a_response = new Response) : a_response;
 }