Remove dynamic exceptions
[anna.git] / source / test / Communicator.cpp
index fce8835..e19064c 100644 (file)
@@ -21,7 +21,7 @@ using namespace std;
 using namespace anna;
 
 bool test::Communicator::canContinue (const comm::ClientSocket& clientSocket)
-   throw (RuntimeException)
+   noexcept(false)
 {
    Guard guard (this, "test::Communicator::canContinue");
 
@@ -49,7 +49,7 @@ bool test::Communicator::canContinue (const comm::ClientSocket& clientSocket)
 }
 
 void test::Communicator::delay ()
-   throw (RuntimeException)
+   noexcept(false)
 {
   if (a_delay > 0) {
       int random = (a_delay > 10) ? (rand () % (a_delay / 10)): 0;
@@ -70,7 +70,7 @@ void test::Communicator::delay ()
 }
 
 void  test::Communicator::terminate ()
-   throw ()
+   
 {
    if (hasRequestedStop () == true)
       return;
@@ -100,7 +100,7 @@ void  test::Communicator::terminate ()
 // si es asi termina
 //----------------------------------------------------------------------------------------
 void test::Communicator::eventOverQuota (const comm::ClientSocket&) 
-   throw ()
+   
 {
    int counter = 0;