Remove dynamic exceptions
[anna.git] / source / diameter.comm / ApplicationMessageOamModule.cpp
index 5511db9..8f3dfa0 100644 (file)
@@ -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