Remove dynamic exceptions
[anna.git] / include / anna / comm / AccessPoint.hpp
index 158b5e5..45d0088 100644 (file)
@@ -42,24 +42,24 @@ public:
 
   ~AccessPoint() { delete a_path;  }
 
-  const INetAddress& getINetAddress() const throw() { return a_inetAddress; }
-  const std::string& getPath() const throw() { return *a_path; }
+  const INetAddress& getINetAddress() const { return a_inetAddress; }
+  const std::string& getPath() const { return *a_path; }
 
-  void clear() throw() { a_inetAddress.clear(); delete a_path; a_path = NULL; }
-  bool isNull() const throw() { return a_path == NULL && a_inetAddress.isNull(); }
+  void clear() { a_inetAddress.clear(); delete a_path; a_path = NULL; }
+  bool isNull() const { return a_path == NULL && a_inetAddress.isNull(); }
 
-  bool operator == (const AccessPoint&) const throw();
-  AccessPoint& operator = (const INetAddress&) throw();
-  AccessPoint& operator = (const std::string& path) throw();
-  AccessPoint& operator = (const AccessPoint&) throw();
+  bool operator == (const AccessPoint&) const ;
+  AccessPoint& operator = (const INetAddress&) ;
+  AccessPoint& operator = (const std::string& path) ;
+  AccessPoint& operator = (const AccessPoint&) ;
 
-  void asString(std::string& msg) const throw();
+  void asString(std::string& msg) const ;
 
-  void asXML(const char* name, xml::Node* parent) const throw(RuntimeException);
+  void asXML(const char* name, xml::Node* parent) const noexcept(false);
 
-  std::string serialize() const throw();
+  std::string serialize() const ;
 
-  void translate(const Socket&, sockaddr*&, int& len) throw(RuntimeException);
+  void translate(const Socket&, sockaddr*&, int& len) noexcept(false);
 
 private:
   const Socket* a_owner;