projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
include
/
anna
/
diameter
/
helpers
/
tme
/
codectypes
/
Unsigned16.hpp
diff --git
a/include/anna/diameter/helpers/tme/codectypes/Unsigned16.hpp
b/include/anna/diameter/helpers/tme/codectypes/Unsigned16.hpp
index
f899889
..
7b54fda
100644
(file)
--- a/
include/anna/diameter/helpers/tme/codectypes/Unsigned16.hpp
+++ b/
include/anna/diameter/helpers/tme/codectypes/Unsigned16.hpp
@@
-39,8
+39,8
@@
class Unsigned16 : codec::basetypes::OctetString {
// Only for derived diameter type:
// Only for derived diameter type:
- void updateBasic()
throw(anna::RuntimeException
);
- void setPrintableString(const char * printableString)
throw(anna::RuntimeException
);
+ void updateBasic()
noexcept(false
);
+ void setPrintableString(const char * printableString)
noexcept(false
);
public:
public:
@@
-52,37
+52,37
@@
public:
*
* @return Unsigned16 value
*/
*
* @return Unsigned16 value
*/
- const U16& getValue() const
throw()
{ return a_value; }
+ const U16& getValue() const { return a_value; }
/**
* Sets the Unsigned16 value
*
* @param value Unsigned16 value
*/
/**
* Sets the Unsigned16 value
*
* @param value Unsigned16 value
*/
- void setValue(const U16& value)
throw()
{ a_value = value; updateBasic(); }
+ void setValue(const U16& value) { a_value = value; updateBasic(); }
//
//////////////////////////////////////////////////////////////////////////////////////////////////////
// gets
//
//////////////////////////////////////////////////////////////////////////////////////////////////////
// gets
- std::string getFormatName() const
throw()
{ return "Unsigned16"; }
+ std::string getFormatName() const { return "Unsigned16"; }
// helpers
// helpers
- std::string asPrintableString()
throw(anna::RuntimeException
) {
+ std::string asPrintableString()
noexcept(false
) {
return anna::functions::asString(a_value);
}
return anna::functions::asString(a_value);
}
- std::string asString()
throw(anna::RuntimeException
) {
+ std::string asString()
noexcept(false
) {
return asPrintableString();
}
// sets
return asPrintableString();
}
// sets
- void decode(const char* buffer, const int size)
throw(anna::RuntimeException
);
+ void decode(const char* buffer, const int size)
noexcept(false
);
// exports /////////////////////////////
// exports /////////////////////////////