Remove dynamic exceptions
[anna.git] / include / anna / test / Control.hpp
index 81c08af..6d366ec 100644 (file)
@@ -34,19 +34,19 @@ class Control : public Mutex {
 public:
    Control (comm::Communicator* engine);
 
-   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 getMaxMessage () const { return a_maxMessage; }
 
-   bool canContinue (const comm::socket::Client& clientSocket) throw (RuntimeException);
-   void delay () throw (RuntimeException);
-   Millisecond latency (const Millisecond& init) throw (RuntimeException);
+   bool canContinue (const comm::socket::Client& clientSocket) noexcept(false);
+   void delay () noexcept(false);
+   Millisecond latency (const Millisecond& init) noexcept(false);
 
-   void report () throw ();
-   void stop () throw (RuntimeException);
+   void report () ;
+   void stop () noexcept(false);
 
-   xml::Node* asXML (xml::Node* parent) throw ();
+   xml::Node* asXML (xml::Node* parent) ;
 
 private:
    comm::Communicator& a_engine;