* Asignación a entero.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const int value) throw(RuntimeException) { setValue(value); return *this; }
+ TextVariable& operator= (const int value) noexcept(false) { setValue(value); return *this; }
/**
* Asignación a cadena.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const char* value) throw(RuntimeException) { setValue(value); return *this; }
+ TextVariable& operator= (const char* value) noexcept(false) { setValue(value); return *this; }
/**
* Asignación a cadena.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const anna::String& value) throw(RuntimeException) { setValue(value.c_str()); return *this; }
+ TextVariable& operator= (const anna::String& value) noexcept(false) { setValue(value.c_str()); return *this; }
/**
* Asignación a entero de 64 bits.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const S64 value) throw(RuntimeException) { setValue(value); return *this; }
+ TextVariable& operator= (const S64 value) noexcept(false) { setValue(value); return *this; }
/**
* Asignación a flotante.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const float value) throw(RuntimeException) { setValue(value); return *this; }
+ TextVariable& operator= (const float value) noexcept(false) { setValue(value); return *this; }
/**
* Asignación a flotante.
* \param value Valor a asignar a esta variable.
*/
- TextVariable& operator= (const double value) throw(RuntimeException) { setValue(value); return *this; }
+ TextVariable& operator= (const double value) noexcept(false) { setValue(value); return *this; }
protected:
/**
private:
const anna::String a_expression;
- const char* compose(DataBlock& buffer) const throw(RuntimeException);
+ const char* compose(DataBlock& buffer) const noexcept(false);
friend class TextComposer;
};