Remove dynamic exceptions
[anna.git] / include / anna / diameter / helpers / tme / codectypes / ISDNAddress.hpp
index fde7ebf..f7af6d1 100644 (file)
@@ -37,7 +37,7 @@ class ISDNAddress : public codec::basetypes::OctetString {
   isup_number_t a_isupNumber;
 
   // Only for derived diameter type:
-  void updateBasic() throw(anna::RuntimeException);
+  void updateBasic() noexcept(false);
 
 public:
 
@@ -48,32 +48,32 @@ 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 "ISDNAddress"; }
+  std::string getFormatName() const { return "ISDNAddress"; }
 
 
   // helpers
 
-  std::string asString() throw(anna::RuntimeException) {
+  std::string asString() noexcept(false) {
     return a_isupNumber.asString(true /* called 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 /////////////////////////////