X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2Ffunctions.hpp;fp=include%2Fanna%2Fcomm%2Ffunctions.hpp;h=620bd3a312554d3d7a93242961f4814be5376b05;hp=968111206c086b41234270c388dc2fccf9d176bd;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/functions.hpp b/include/anna/comm/functions.hpp index 9681112..620bd3a 100644 --- a/include/anna/comm/functions.hpp +++ b/include/anna/comm/functions.hpp @@ -29,7 +29,7 @@ struct functions : public anna::app::functions { Returns the host name over which we are executing our process. @return host name over which we are executing our process. */ - static std::string getHostName() throw(RuntimeException); + static std::string getHostName() noexcept(false); /** @@ -42,13 +42,13 @@ struct functions : public anna::app::functions { \see man gethostbyname. */ - static std::string resolveIP(const char* hostname) throw(RuntimeException); + static std::string resolveIP(const char* hostname) noexcept(false); /** Returns our application instance on anna.comm layer. @return Reference to our application instance on anna.comm layer. */ - static comm::Application& getApp() throw(RuntimeException); + static comm::Application& getApp() noexcept(false); }; }