Remove dynamic exceptions
[anna.git] / source / dbms.mysql / InputBind.cpp
index edfb2d3..87ab95a 100644 (file)
@@ -38,7 +38,7 @@ InputBind::~InputBind() {
  * Completa la informacion establececida por el setupBind.
  */
 void InputBind::prepare(anna::dbms::Statement* dbmsStmt, anna::dbms::Connection*, const int pos)
-throw(RuntimeException) {
+noexcept(false) {
   st_mysql_bind* bind = static_cast <dbms::mysql::Statement*>(dbmsStmt)->getBindParams() + pos;
   Data& data = anna::dbms::Bind::getData();
   BaseBind::setupBind(*bind, data);
@@ -57,7 +57,7 @@ throw(RuntimeException) {
  * Codificar� la informaci�n C++ de forma que encaje en las estructuras requeridas por el API de MySQL.
  */
 void InputBind::code() const
-throw(RuntimeException) {
+noexcept(false) {
   InputBind* _this = const_cast <InputBind*>(this);
   Data& data = _this->getData();
 
@@ -93,7 +93,7 @@ throw(RuntimeException) {
  * a establecer en �ste m�todo.
  */
 void InputBind::codeDate(dbms::Data& data)
-throw() {
+{
   dbms::Date& date = static_cast <dbms::Date&>(data);
 
   if(data.getType() == Data::Type::TimeStamp) {