X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter.comm%2FTimer.cpp;fp=source%2Fdiameter.comm%2FTimer.cpp;h=355666d33870813d52ff462fd483fb17de8e2a66;hp=e113d24e504646618d940b9571014cc7172267b3;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter.comm/Timer.cpp b/source/diameter.comm/Timer.cpp index e113d24..355666d 100644 --- a/source/diameter.comm/Timer.cpp +++ b/source/diameter.comm/Timer.cpp @@ -19,7 +19,7 @@ using namespace std; using namespace anna; void diameter::comm::Timer::expire(anna::timex::Engine*) -throw(anna::RuntimeException) { +noexcept(false) { Response* response = NULL; Session* session = NULL; LocalServer* localServer = NULL; @@ -93,13 +93,13 @@ throw(anna::RuntimeException) { } const char* diameter::comm::Timer::asText(const Type::_v type) -throw() { +{ static const char* text [] = { "ResponseExpiration", "SessionUnbind", "SessionRecover", "LocalServerAttach" }; return text [type]; } string diameter::comm::Timer::asString() const -throw() { +{ string result("anna::diameter::comm::Timer { "); result += anna::timex::Transaction::asString(); result += " Type: ";