X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fhelpers%2Ftme%2Fcodectypes%2FUnsigned16.cpp;fp=source%2Fdiameter%2Fhelpers%2Ftme%2Fcodectypes%2FUnsigned16.cpp;h=2c676e8170e9771c26ec74e06420fbb67863cb25;hp=29a2142b3207269c31f6a18db8c0057991e0df92;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter/helpers/tme/codectypes/Unsigned16.cpp b/source/diameter/helpers/tme/codectypes/Unsigned16.cpp index 29a2142..2c676e8 100644 --- a/source/diameter/helpers/tme/codectypes/Unsigned16.cpp +++ b/source/diameter/helpers/tme/codectypes/Unsigned16.cpp @@ -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);