X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fhttp%2FHandler.cpp;h=44231c2a856372a678314bb1ebcf1dba0219a65c;hp=677c702d5ed00846b1bb6590c7a813d0ce637387;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/http/Handler.cpp b/source/http/Handler.cpp index 677c702..44231c2 100644 --- a/source/http/Handler.cpp +++ b/source/http/Handler.cpp @@ -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; }