Remove dynamic exceptions
[anna.git] / example / timex / ArithmeticHTTPServer / Acceptor.hpp
index 7a59009..99438ab 100644 (file)
@@ -31,15 +31,15 @@ class Acceptor : public http::Handler {
 public:
    Acceptor () : http::Handler ("http4comm::Acceptor") {;}
 
-   static const char* className () throw () { return "http4comm::Acceptor"; }
+   static const char* className () { return "http4comm::Acceptor"; }
 
 private:
    Request a_testRequest;
    Response a_testResponse;
 
-   void initialize () throw (RuntimeException);
-   void evRequest (comm::ClientSocket&, const http::Request& request) throw (RuntimeException);
-   void evResponse (comm::ClientSocket&, const http::Response&) throw (RuntimeException) {;}
+   void initialize () noexcept(false);
+   void evRequest (comm::ClientSocket&, const http::Request& request) noexcept(false);
+   void evResponse (comm::ClientSocket&, const http::Response&) noexcept(false) {;}
 };
 
 }