Remove dynamic exceptions
[anna.git] / include / anna / core / oam / Handler.hpp
index 67f6a6a..553161a 100644 (file)
@@ -45,7 +45,7 @@ protected:
   *
   * @return Boolean counter data for 'type' when registered, NULL if not found
   */
-  virtual const counter_data_t *counterEvent(const Module *module, const int & type, const int & amount) const throw();
+  virtual const counter_data_t *counterEvent(const Module *module, const int & type, const int & amount) const ;
 
   /**
   * Event for alarms generated at the module provided. Base implementation trace the event based on #Module::getDefaultAlarmDescription,
@@ -64,7 +64,7 @@ protected:
   *
   * @return Boolean alarm data for 'type' when registered, NULL if not found
   */
-  virtual const alarm_data_t *alarmEvent(const Module *module, const char *textPreffix, const char *textSuffix, char textSeparator, bool activation, const int & type, va_list argList) const throw();
+  virtual const alarm_data_t *alarmEvent(const Module *module, const char *textPreffix, const char *textSuffix, char textSeparator, bool activation, const int & type, va_list argList) const ;
 
 
 public:
@@ -87,7 +87,7 @@ public:
   * @param module Reference OAM module
   * @see #anna::oam::Module::registerCounter
   */
-  virtual void registerCounter(Module *module, const int &type, const std::string &description, const int &offset) throw(anna::RuntimeException) {;}
+  virtual void registerCounter(Module *module, const int &type, const std::string &description, const int &offset) noexcept(false) {;}
 
   /**
   * Invokes module alarm registration procedure.
@@ -96,7 +96,7 @@ public:
   * @param module Reference OAM module
   * @see #anna::oam::Module::registerAlarm
   */
-  virtual void registerAlarm(Module *module, const int &type, const std::string &description, const int &externalId, const std::string &dynamicVariablesCSL, const int &activationId, const int &cancellationId = -1) throw(anna::RuntimeException) {;}
+  virtual void registerAlarm(Module *module, const int &type, const std::string &description, const int &externalId, const std::string &dynamicVariablesCSL, const int &activationId, const int &cancellationId = -1) noexcept(false) {;}
 
 
   friend class Module;