Remove dynamic exceptions
[anna.git] / include / anna / diameter.comm / MessageStatistics.hpp
index 9c502e2..e6fa37c 100644 (file)
@@ -38,9 +38,9 @@ class MessageStatistics {
 
     struct ConceptType { enum _v { SentRequestProcessingTime, ReceivedMessageSize }; };
 
-    void initialize(const std::string &name) throw(anna::RuntimeException);
-    void process(const ConceptType::_v &conceptType, const anna::diameter::CommandId &cid, const double & value) throw(anna::RuntimeException);
-    anna::statistics::Accumulator *getAccumulator() const throw() { return a_accumulator; }
+    void initialize(const std::string &name) noexcept(false);
+    void process(const ConceptType::_v &conceptType, const anna::diameter::CommandId &cid, const double & value) noexcept(false);
+    anna::statistics::Accumulator *getAccumulator() const { return a_accumulator; }
  
   private:
     anna::statistics::Accumulator *a_accumulator;