Remove dynamic exceptions
[anna.git] / include / anna / comm / internal / ConnectionRecover.hpp
index 10b2770..249c83a 100644 (file)
@@ -26,12 +26,12 @@ class Communicator;
 
 class ConnectionRecover {
 public:
-  bool isRunning() const throw() { return a_isRunning; }
+  bool isRunning() const { return a_isRunning; }
 
-  void annotateFault(Server* server) throw();
-//   bool contains (Server* server) const throw ();
-//   void erase (Server* server) throw ();
-  xml::Node* asXML(xml::Node* parent) const throw(RuntimeException);
+  void annotateFault(Server* server) ;
+//   bool contains (Server* server) const ;
+//   void erase (Server* server) ;
+  xml::Node* asXML(xml::Node* parent) const noexcept(false);
 
 private:
   typedef std::vector <Server*> break_container;
@@ -44,7 +44,7 @@ private:
   Millisecond a_nextTime;
 
   ConnectionRecover(Communicator* communicator) : a_communicator(*communicator), a_isRunning(false) {;}
-  void tryRecover() throw();
+  void tryRecover() ;
 
   friend class Communicator;
 };