X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdiameter%2Fcodec%2Fbasetypes%2FUnsigned32.cpp;h=54e72595194aa2a755f9a49ab0668ae31aaaf7d8;hb=HEAD;hp=168a9c94013b686172dc1d3f938396301a58a113;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/diameter/codec/basetypes/Unsigned32.cpp b/source/diameter/codec/basetypes/Unsigned32.cpp index 168a9c9..54e7259 100644 --- a/source/diameter/codec/basetypes/Unsigned32.cpp +++ b/source/diameter/codec/basetypes/Unsigned32.cpp @@ -13,7 +13,7 @@ //------------------------------------------------------------------------------ //------------------------------------------------------ Unsigned32::codeBasic() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned32::codeBasic(char* buffer, int &size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned32::codeBasic(char* buffer, int &size) noexcept(false) { buffer[0] = (char)(a_value >> 24); buffer[1] = (char)(a_value >> 16); buffer[2] = (char)(a_value >> 8); @@ -25,7 +25,7 @@ void anna::diameter::codec::basetypes::Unsigned32::codeBasic(char* buffer, int & //------------------------------------------------------------------------------ //--------------------------------------------- Unsigned32::setPrintableString() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned32::setPrintableString(const char * printableString) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned32::setPrintableString(const char * printableString) noexcept(false) { setValue(atoi(printableString)); } @@ -33,7 +33,7 @@ void anna::diameter::codec::basetypes::Unsigned32::setPrintableString(const char //------------------------------------------------------------------------------ //--------------------------------------------------------- Unsigned32::decode() //------------------------------------------------------------------------------ -void anna::diameter::codec::basetypes::Unsigned32::decode(const char* buffer, const int size) throw(anna::RuntimeException) { +void anna::diameter::codec::basetypes::Unsigned32::decode(const char* buffer, const int size) noexcept(false) { if(!buffer) throw anna::RuntimeException("Unsigned32::decode | Null Buffer provided", ANNA_FILE_LOCATION);