Remove dynamic exceptions
[anna.git] / include / anna / comm / functions.hpp
index 9681112..620bd3a 100644 (file)
@@ -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);
 };
 
 }