Remove dynamic exceptions
[anna.git] / include / anna / diameter / helpers / tme / codectypes / ISDNNumber.hpp
index 0921e8d..2daf26b 100644 (file)
@@ -39,7 +39,7 @@ class ISDNNumber : public codec::basetypes::OctetString {
   isup_number_t a_isupNumber;
 
   // Only for derived diameter type:
-  void updateBasic() throw(anna::RuntimeException);
+  void updateBasic() noexcept(false);
 
 public:
 
@@ -50,31 +50,31 @@ public:
   *
   * @return Q763 ISUP Number
   */
-  const isup_number_t& getIsupNumber() const throw() { return a_isupNumber; }
+  const isup_number_t& getIsupNumber() const { return a_isupNumber; }
 
   /**
   * Sets the Q763 ISUP Number
   *
   * @param isupNumber Q763 ISUP Number
   */
-  void setIsupNumber(const isup_number_t& isupNumber) throw() { a_isupNumber = isupNumber; updateBasic(); }
+  void setIsupNumber(const isup_number_t& isupNumber) { a_isupNumber = isupNumber; updateBasic(); }
   //
   //////////////////////////////////////////////////////////////////////////////////////////////////////
 
   // gets
 
-  std::string getFormatName() const throw() { return "ISDNNumber"; }
+  std::string getFormatName() const { return "ISDNNumber"; }
 
   // helpers
 
-  std::string asString() throw(anna::RuntimeException) {
+  std::string asString() noexcept(false) {
     return a_isupNumber.asString(false /* calling party number */);
   }
 
 
   // sets
 
-  void decode(const char* buffer, const int size) throw(anna::RuntimeException);
+  void decode(const char* buffer, const int size) noexcept(false);
 
 
   // exports /////////////////////////////