Remove dynamic exceptions
[anna.git] / example / diameter / launcher / MyHandler.hpp
index 9e849a3..31758b5 100644 (file)
@@ -28,8 +28,8 @@ private:
   bool doGET(const std::string &uri, std::string &response);
   bool doPOST(const std::string &uri, const nlohmann::json &j, std::string &reponse);
 
-  void evRequest(anna::comm::ClientSocket&, const anna::http::Request& request) throw(anna::RuntimeException);
-  void evResponse(anna::comm::ClientSocket&, const anna::http::Response&) throw(anna::RuntimeException) {;}
+  void evRequest(anna::comm::ClientSocket&, const anna::http::Request& request) noexcept(false);
+  void evResponse(anna::comm::ClientSocket&, const anna::http::Response&) noexcept(false) {;}
 };
 
 #endif