X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FMyHandler.hpp;fp=example%2Fdiameter%2Flauncher%2FMyHandler.hpp;h=31758b56827eda0b477f6d469122409f20e150ed;hp=9e849a3a775fe7d742ae1a662ea1a4122963d18d;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/diameter/launcher/MyHandler.hpp b/example/diameter/launcher/MyHandler.hpp index 9e849a3..31758b5 100644 --- a/example/diameter/launcher/MyHandler.hpp +++ b/example/diameter/launcher/MyHandler.hpp @@ -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