X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbms.oracle%2FInputBind.cpp;h=0855a57a2f57090c8ca124bcfd5736a4bfe17a72;hp=c554843791b528c98b2e2dcee7e6cd6a35559315;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/dbms.oracle/InputBind.cpp b/source/dbms.oracle/InputBind.cpp index c554843..0855a57 100644 --- a/source/dbms.oracle/InputBind.cpp +++ b/source/dbms.oracle/InputBind.cpp @@ -39,7 +39,7 @@ InputBind::~InputBind() { // comunicar con Oracle, para indicar la longitud de una variable, o su estado de nulo o // no nulo. void InputBind::prepare(dbms::Statement* dbmsStatement, dbms::Connection* connection, const int pos) -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { if(a_ociBind != NULL) return; @@ -96,7 +96,7 @@ throw(RuntimeException, dbms::DatabaseException) { // cada base de datos se ocupen toda la complejidad de convertir los datos. //------------------------------------------------------------------------------- void InputBind::code() const -throw(RuntimeException) { +noexcept(false) { InputBind* _this = const_cast (this); Data& data = _this->getData(); @@ -138,7 +138,7 @@ throw(RuntimeException) { * Oracle (tm). */ void InputBind::codeFloat(dbms::Data& data) const -throw() { +{ dbms::Float& _float = static_cast (data); InputBind* _this = const_cast (this); char* buffer = (char*) _this->a_ofb->getData(); @@ -154,7 +154,7 @@ throw() { } void InputBind::codeShortBlock(dbms::Data& data) const -throw() { +{ const int length = static_cast (data).getSize(); InputBind* _this = const_cast (this); @@ -180,7 +180,7 @@ throw() { } void InputBind::codeDate(dbms::Data& data) const -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { dbms::Date& date = static_cast (data); ub4 fsec(0);