// 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:
*
* @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
*/
- void setValue(const U16& value) throw() { a_value = value; updateBasic(); }
+ void setValue(const U16& value) { a_value = value; updateBasic(); }
//
//////////////////////////////////////////////////////////////////////////////////////////////////////
// gets
- std::string getFormatName() const throw() { return "Unsigned16"; }
+ std::string getFormatName() const { return "Unsigned16"; }
// helpers
- std::string asPrintableString() throw(anna::RuntimeException) {
+ std::string asPrintableString() noexcept(false) {
return anna::functions::asString(a_value);
}
- std::string asString() throw(anna::RuntimeException) {
+ std::string asString() noexcept(false) {
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 /////////////////////////////