X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Ftest%2FCommunicator.cpp;h=e19064c1ef5bd2a9b1cf7a9a2326156c4856823f;hb=4275d46f5d3c3a150ced258ae20c985520f6477a;hp=fce8835f180b29b4ef65f536cf4a1f8046a3925d;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git 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;