Remove dynamic exceptions
[anna.git] / include / anna / diameter / helpers / dcca / functions.hpp
index e1841e7..f5f790d 100644 (file)
@@ -73,7 +73,7 @@ struct functions {
   * @return Subscription-Id-Data for type provided. Empty string when not found.
   */
   static std::string getSubscriptionIdData(const anna::DataBlock &db,
-      int subscriptionIdType = AVPVALUES__Subscription_Id_Type::END_USER_E164) throw(anna::RuntimeException);
+      int subscriptionIdType = AVPVALUES__Subscription_Id_Type::END_USER_E164) noexcept(false);
 
 
   /**
@@ -84,7 +84,7 @@ struct functions {
   *
   * @return Service-Context-Id
   */
-  static std::string getServiceContextId(const anna::DataBlock &db, ChargingContext::_v &chargingContext) throw(anna::RuntimeException);
+  static std::string getServiceContextId(const anna::DataBlock &db, ChargingContext::_v &chargingContext) noexcept(false);
 
   /**
   * Service-Context-Id from datablock provided.
@@ -93,7 +93,7 @@ struct functions {
   *
   * @return Service-Context-Id
   */
-  static std::string getServiceContextId(const anna::DataBlock &db) throw(anna::RuntimeException) {
+  static std::string getServiceContextId(const anna::DataBlock &db) noexcept(false) {
     ChargingContext::_v dummy;
     return getServiceContextId(db, dummy);
   }