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);
/**
\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);
};
}