public:
MyHandler () : http::Handler ("wims20_rserver::MyHandler"), a_request (NULL) {;}
- static const char* className () throw () { return "wims20_rserver::ReceiverFactory"; }
+ static const char* className () { return "wims20_rserver::ReceiverFactory"; }
private:
MyCommunicator* a_communicator;
http::wims20::ServerSide* a_request;
- void initialize () throw (RuntimeException);
- void evRequest (ClientSocket&, const http::Request& request) throw (RuntimeException);
- void evResponse (ClientSocket&, const http::Response&) throw (RuntimeException) {;}
+ void initialize () noexcept(false);
+ void evRequest (ClientSocket&, const http::Request& request) noexcept(false);
+ void evResponse (ClientSocket&, const http::Response&) noexcept(false) {;}
};
class HTTPArithmeticServer : public comm::Application {
ReceiverFactoryImpl <MyHandler> a_receiverFactory;
comm::ServerSocket* a_serverSocket;
- void initialize () throw (RuntimeException);
- void run () throw (RuntimeException);
+ void initialize () noexcept(false);
+ void run () noexcept(false);
};
using namespace std;
}
void HTTPArithmeticServer::initialize ()
- throw (RuntimeException)
+ noexcept(false)
{
CommandLine& cl (CommandLine::instantiate ());
}
void HTTPArithmeticServer::run ()
- throw (RuntimeException)
+ noexcept(false)
{
CommandLine& cl (CommandLine::instantiate ());
}
void MyHandler::initialize ()
- throw (RuntimeException)
+ noexcept(false)
{
CommandLine& cl (CommandLine::instantiate ());
// Observar que la <op> corresponderÃa con las parte other_possible_levels
// de la especificación WIMS 2.0
void MyHandler::evRequest (ClientSocket& clientSocket, const http::Request& request)
- throw (RuntimeException)
+ noexcept(false)
{
LOGMETHOD (TraceMethod tm ("MyReceiver", "apply", ANNA_FILE_LOCATION));