X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fcodec%2Fbasetypes%2FUnsigned64.cpp;h=9cd205ba192423367b3d8996d8b757f9886a8cf0;hp=0d5083ba39a0cf4d36ba38ac08384caaedcacfca;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter/codec/basetypes/Unsigned64.cpp b/source/diameter/codec/basetypes/Unsigned64.cpp index 0d5083b..9cd205b 100644 --- a/source/diameter/codec/basetypes/Unsigned64.cpp +++ b/source/diameter/codec/basetypes/Unsigned64.cpp @@ -13,7 +13,7 @@ //------------------------------------------------------------------------------ //------------------------------------------------------ Unsigned64::codeBasic() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned64::codeBasic(char* buffer, int &size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned64::codeBasic(char* buffer, int &size) noexcept(false) { buffer[0] = (char)(a_value >> 56); buffer[1] = (char)(a_value >> 48); buffer[2] = (char)(a_value >> 40); @@ -29,7 +29,7 @@ void anna::diameter::codec::basetypes::Unsigned64::codeBasic(char* buffer, int & //------------------------------------------------------------------------------ //--------------------------------------------- Unsigned64::setPrintableString() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned64::setPrintableString(const char * printableString) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned64::setPrintableString(const char * printableString) noexcept(false) { setValue(atoll(printableString)); } @@ -37,7 +37,7 @@ void anna::diameter::codec::basetypes::Unsigned64::setPrintableString(const char //------------------------------------------------------------------------------ //--------------------------------------------------------- Unsigned64::decode() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned64::decode(const char* buffer, const int size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned64::decode(const char* buffer, const int size) noexcept(false) { if(!buffer) throw anna::RuntimeException("Unsigned64::decode | Null Buffer provided", ANNA_FILE_LOCATION);