Remove dynamic exceptions
[anna.git] / source / diameter / codec / basetypes / Float32.cpp
index 63a9a29..eb40e1f 100644 (file)
@@ -13,7 +13,7 @@
 //------------------------------------------------------------------------------
 //--------------------------------------------------------- Float32::codeBasic()
 //------------------------------------------------------------------------------
-void anna::diameter::codec::basetypes::Float32::codeBasic(char* buffer, int &size) throw(anna::RuntimeException) {
+void anna::diameter::codec::basetypes::Float32::codeBasic(char* buffer, int &size) noexcept(false) {
   /*buffer=*/
   anna::comm::functions::codeFloat(buffer, a_value);
   size = getSize();
@@ -23,7 +23,7 @@ void anna::diameter::codec::basetypes::Float32::codeBasic(char* buffer, int &siz
 //------------------------------------------------------------------------------
 //------------------------------------------------ Float32::setPrintableString()
 //------------------------------------------------------------------------------
-void anna::diameter::codec::basetypes::Float32::setPrintableString(const char * printableString) throw(anna::RuntimeException) {
+void anna::diameter::codec::basetypes::Float32::setPrintableString(const char * printableString) noexcept(false) {
   setValue(atof(printableString));
 }
 
@@ -31,7 +31,7 @@ void anna::diameter::codec::basetypes::Float32::setPrintableString(const char *
 //------------------------------------------------------------------------------
 //------------------------------------------------------------ Float32::decode()
 //------------------------------------------------------------------------------
-void anna::diameter::codec::basetypes::Float32::decode(const char* buffer, const int size) throw(anna::RuntimeException) {
+void anna::diameter::codec::basetypes::Float32::decode(const char* buffer, const int size) noexcept(false) {
   if(!buffer)
     throw anna::RuntimeException("Float32::decode | Null Buffer provided", ANNA_FILE_LOCATION);