X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdiameter.comm%2FApplicationMessageOamModule.cpp;h=8f3dfa0fb8c28915eeac295354a7fd9ff796f854;hb=64cc135e716c2ef018227375fc4f15ff0670fdf7;hp=9c58cd107e96ab69a90ea396a915f08d7ee057b0;hpb=e44bd6c763aa27c19142f4f3fabb94b1bf9fe827;p=anna.git diff --git a/source/diameter.comm/ApplicationMessageOamModule.cpp b/source/diameter.comm/ApplicationMessageOamModule.cpp index 9c58cd1..8f3dfa0 100644 --- a/source/diameter.comm/ApplicationMessageOamModule.cpp +++ b/source/diameter.comm/ApplicationMessageOamModule.cpp @@ -36,7 +36,7 @@ anna_assign_enum(anna::diameter::comm::ApplicationMessageOamModule::Counter) = { NULL /* list end indicator */ }; -void anna::diameter::comm::ApplicationMessageOamModule::createStackCounterScope(int scopeId, unsigned int stackId) throw(anna::RuntimeException) { +void anna::diameter::comm::ApplicationMessageOamModule::createStackCounterScope(int scopeId, unsigned int stackId) noexcept(false) { initializeCounterScope(scopeId, anna::functions::asString("Application Message Events for stack id %lu", stackId)); @@ -47,7 +47,7 @@ void anna::diameter::comm::ApplicationMessageOamModule::createStackCounterScope( a_stackMap[stackId] = scopeId; } -void anna::diameter::comm::ApplicationMessageOamModule::count (int messageCode, int resultCode, unsigned int stackId, const int & type, const int & amount) throw(anna::RuntimeException) { +void anna::diameter::comm::ApplicationMessageOamModule::count (int messageCode, int resultCode, unsigned int stackId, const int & type, const int & amount) noexcept(false) { // Optimization: // Checkings @@ -127,7 +127,7 @@ void anna::diameter::comm::ApplicationMessageOamModule::count (int messageCode, int offset = baseOffset + type; counterName = counterNamePrefix + getDefaultInternalCounterDescription(type); if (resultCode != -1) counterName += anna::functions::asString("-ResultCode_%d", resultCode); - registerCounter(baseOffset + offset, counterName, baseOffset + offset); + registerCounter(offset, counterName, offset); } else {