X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fcodec%2Fbasetypes%2FInteger64.cpp;fp=source%2Fdiameter%2Fcodec%2Fbasetypes%2FInteger64.cpp;h=4f4a6a2fd599ff248c77aa14e2d1def8136bb3f6;hp=e3dd6049990df5cccde955941f57501194fae192;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter/codec/basetypes/Integer64.cpp b/source/diameter/codec/basetypes/Integer64.cpp index e3dd604..4f4a6a2 100644 --- a/source/diameter/codec/basetypes/Integer64.cpp +++ b/source/diameter/codec/basetypes/Integer64.cpp @@ -13,7 +13,7 @@ //------------------------------------------------------------------------------ //------------------------------------------------------- Integer64::codeBasic() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Integer64::codeBasic(char* buffer, int &size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Integer64::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::Integer64::codeBasic(char* buffer, int &s //------------------------------------------------------------------------------ //---------------------------------------------- Integer64::setPrintableString() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Integer64::setPrintableString(const char * printableString) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Integer64::setPrintableString(const char * printableString) noexcept(false) { setValue(atoll(printableString)); } @@ -37,7 +37,7 @@ void anna::diameter::codec::basetypes::Integer64::setPrintableString(const char //------------------------------------------------------------------------------ //---------------------------------------------------------- Integer64::decode() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Integer64::decode(const char* buffer, const int size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Integer64::decode(const char* buffer, const int size) noexcept(false) { if(!buffer) throw anna::RuntimeException("Integer64::decode | Null Buffer provided", ANNA_FILE_LOCATION);