Remove dynamic exceptions
[anna.git] / include / anna / test / Communicator.hpp
index e3b6a89..babdbfc 100644 (file)
@@ -26,16 +26,16 @@ public:
       a_delay (0)
    {;}
    
-   void setDelay (const Millisecond delay) throw () { a_delay = delay; }
-   void setMaxMessage (const int maxMessage) throw () { a_maxMessage = maxMessage; }
+   void setDelay (const Millisecond delay) { a_delay = delay; }
+   void setMaxMessage (const int maxMessage) { a_maxMessage = maxMessage; }
    
-   int getMaxMessage () const throw () { return a_maxMessage; }
-   int getMessage () const throw () { return a_messageCounter; }
+   int getMaxMessage () const { return a_maxMessage; }
+   int getMessage () const { return a_messageCounter; }
 
-   bool canContinue (const comm::ClientSocket&) throw (RuntimeException);
-   void delay () throw (RuntimeException);   
+   bool canContinue (const comm::ClientSocket&) noexcept(false);
+   void delay () noexcept(false);   
    
-   void terminate () throw ();
+   void terminate () ;
 private:
    Millisecond a_delay;
    Millisecond a_initTime;
@@ -44,7 +44,7 @@ private:
    int a_successCounter;
    Average <Microsecond> a_avgDelay;
    
-   void eventOverQuota (const comm::ClientSocket&) throw ();      
+   void eventOverQuota (const comm::ClientSocket&) ;      
 
 };