X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Ftest%2FCommunicator.cpp;fp=source%2Ftest%2FCommunicator.cpp;h=e19064c1ef5bd2a9b1cf7a9a2326156c4856823f;hp=fce8835f180b29b4ef65f536cf4a1f8046a3925d;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/test/Communicator.cpp b/source/test/Communicator.cpp index fce8835..e19064c 100644 --- a/source/test/Communicator.cpp +++ b/source/test/Communicator.cpp @@ -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;