Remove dynamic exceptions
[anna.git] / source / test / Control.cpp
index d5c78e4..6daab72 100644 (file)
@@ -40,7 +40,7 @@ test::Control::Control (comm::Communicator* engine) :
 {;}
 
 bool test::Control::canContinue (const comm::socket::Client&)
-   throw (RuntimeException)
+   noexcept(false)
 {
    LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::canContinue", ANNA_FILE_LOCATION));
 
@@ -60,7 +60,7 @@ bool test::Control::canContinue (const comm::socket::Client&)
 }
 
 void test::Control::delay ()
-   throw (RuntimeException)
+   noexcept(false)
 {
    LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::delay", ANNA_FILE_LOCATION));
 
@@ -88,7 +88,7 @@ void test::Control::delay ()
 
 // Aproximación del valor que lleva en mensaje en cola I/O
 Millisecond test::Control::latency (const Millisecond& init)
-   throw (RuntimeException)
+   noexcept(false)
 {
    LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::latency", ANNA_FILE_LOCATION));
 
@@ -105,7 +105,7 @@ Millisecond test::Control::latency (const Millisecond& init)
 }
 
 void  test::Control::report ()
-   throw ()
+   
 {
    const Millisecond serviceTime = anna::Millisecond::getTime () - a_initTime;
 
@@ -131,7 +131,7 @@ void  test::Control::report ()
 }
 
 void test::Control::stop ()
-   throw (RuntimeException)
+   noexcept(false)
 {
    if (a_engine.hasRequestedStop () == true)
       return;
@@ -141,7 +141,7 @@ void test::Control::stop ()
 }
 
 xml::Node* test::Control::asXML (xml::Node* parent)
-   throw ()
+   
 {
    xml::Node* result = parent->createChild ("test.Control");