Remove dynamic exceptions
[anna.git] / source / diameter / helpers / tme / codectypes / Unsigned16.cpp
index 29a2142..2c676e8 100644 (file)
@@ -13,7 +13,7 @@
 //------------------------------------------------------------------------------
 //---------------------------------------------------- Unsigned16::updateBasic()
 //------------------------------------------------------------------------------
-void anna::diameter::helpers::tme::codectypes::Unsigned16::updateBasic() throw(anna::RuntimeException) {
+void anna::diameter::helpers::tme::codectypes::Unsigned16::updateBasic() noexcept(false) {
   std::string result;
   result += (char)(a_value >> 8);
   result += (char)a_value;
@@ -24,7 +24,7 @@ void anna::diameter::helpers::tme::codectypes::Unsigned16::updateBasic() throw(a
 //------------------------------------------------------------------------------
 //--------------------------------------------- Unsigned16::setPrintableString()
 //------------------------------------------------------------------------------
-void anna::diameter::helpers::tme::codectypes::Unsigned16::setPrintableString(const char * printableString) throw(anna::RuntimeException) {
+void anna::diameter::helpers::tme::codectypes::Unsigned16::setPrintableString(const char * printableString) noexcept(false) {
   setValue(atoi(printableString));
 }
 
@@ -32,7 +32,7 @@ void anna::diameter::helpers::tme::codectypes::Unsigned16::setPrintableString(co
 //------------------------------------------------------------------------------
 //--------------------------------------------------------- Unsigned16::decode()
 //------------------------------------------------------------------------------
-void anna::diameter::helpers::tme::codectypes::Unsigned16::decode(const char* buffer, const int size) throw(anna::RuntimeException) {
+void anna::diameter::helpers::tme::codectypes::Unsigned16::decode(const char* buffer, const int size) noexcept(false) {
   if(!buffer)
     throw anna::RuntimeException("Unsigned16::decode | Null Buffer provided", ANNA_FILE_LOCATION);