X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcore%2Futil%2FTextVariable.hpp;fp=include%2Fanna%2Fcore%2Futil%2FTextVariable.hpp;h=132361247a730766a077297deb734db4d57a99f2;hp=b366f351415d5fa173841e959295c2347ec6caee;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/core/util/TextVariable.hpp b/include/anna/core/util/TextVariable.hpp index b366f35..1323612 100644 --- a/include/anna/core/util/TextVariable.hpp +++ b/include/anna/core/util/TextVariable.hpp @@ -27,37 +27,37 @@ public: * 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: /** @@ -72,7 +72,7 @@ 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; };