Remove dynamic exceptions
[anna.git] / example / timex / ArithmeticHTTPServer / Reactor.hpp
index c913091..c792761 100644 (file)
@@ -25,15 +25,16 @@ using namespace anna;
 class Reactor : public comm::Receiver {
 public:
    Reactor () : comm::Receiver ("http4comm::Reactor") {;}
+   virtual ~Reactor() {;}
 
-   static const char* className () throw () { return "http4comm::Reactor"; }
+   static const char* className () { return "http4comm::Reactor"; }
 
 private:
    Request a_request;
    Response a_response;
    http::Response a_httpResponse;
 
-   void apply (comm::ClientSocket&, const comm::Message&) throw (RuntimeException);
+   void apply (comm::ClientSocket&, const comm::Message&) noexcept(false);
 };
 
 }