X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2FrxSimpleTest%2FMyLocalServer.cpp;fp=example%2Fdiameter%2FrxSimpleTest%2FMyLocalServer.cpp;h=1327dd1474ee391a40c25539d5117cdabfbde4f1;hp=38a538a6d2060c2727b14d2bfe8c4accaca812b6;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/diameter/rxSimpleTest/MyLocalServer.cpp b/example/diameter/rxSimpleTest/MyLocalServer.cpp index 38a538a..1327dd1 100755 --- a/example/diameter/rxSimpleTest/MyLocalServer.cpp +++ b/example/diameter/rxSimpleTest/MyLocalServer.cpp @@ -24,7 +24,7 @@ void MyLocalServer::eventRequest(anna::diameter::comm::ServerSession *serverSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyLocalServer", "eventRequest", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); @@ -63,7 +63,7 @@ throw(anna::RuntimeException) { } void MyLocalServer::eventResponse(const anna::diameter::comm::Response &response) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyLocalServer", "eventResponse", ANNA_FILE_LOCATION)); RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); anna::diameter::comm::OriginHost * my_node = my_app.getOriginHost(getEngine()->getOriginHostName()); @@ -111,7 +111,7 @@ throw(anna::RuntimeException) { } void MyLocalServer::eventUnknownResponse(anna::diameter::comm::ServerSession *serverSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyLocalServer", "eventUnknownResponse", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); @@ -131,7 +131,7 @@ throw(anna::RuntimeException) { } void MyLocalServer::eventDPA(anna::diameter::comm::ServerSession *serverSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyLocalServer", "eventDPA", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp());