X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbms.oracle%2FOutputBind.cpp;fp=source%2Fdbms.oracle%2FOutputBind.cpp;h=4009d9a9e02813e01652511344a9d1d8fd5d9f5e;hp=9b18d68683412ca1344210f0d41ccce414ece939;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/dbms.oracle/OutputBind.cpp b/source/dbms.oracle/OutputBind.cpp index 9b18d68..4009d9a 100644 --- a/source/dbms.oracle/OutputBind.cpp +++ b/source/dbms.oracle/OutputBind.cpp @@ -35,7 +35,7 @@ OutputBind::~OutputBind() { } void OutputBind::prepare(dbms::Statement* dbmsStatement, dbms::Connection* connection, const int pos) -throw(dbms::DatabaseException) { +noexcept(false) { if(a_ociDefine != NULL) return; @@ -86,7 +86,7 @@ throw(dbms::DatabaseException) { // (1) Truco para fijar el contenido y la longitud actual. //------------------------------------------------------------------------------- void OutputBind::decode() const -throw(RuntimeException) { +noexcept(false) { OutputBind* _this = const_cast (this); char* str; Data& data = _this->getData(); @@ -128,7 +128,7 @@ throw(RuntimeException) { } void OutputBind::decodeFloat(dbms::Data& data) const -throw(RuntimeException) { +noexcept(false) { dbms::Float& _float = static_cast (data); if(data.isNull() == true) { @@ -150,7 +150,7 @@ throw(RuntimeException) { } void OutputBind::decodeShortBlock(dbms::Data& data) const -throw(RuntimeException) { +noexcept(false) { const anna::DataBlock& constdbms(static_cast (data).getValue()); anna::DataBlock& dataBlock(const_cast (constdbms)); @@ -181,7 +181,7 @@ throw(RuntimeException) { // (1) Offset = 1 => primer caracter. //-------------------------------------------------------------------------------------------- void OutputBind::decodeLongBlock(dbms::Data& data) const -throw(RuntimeException) { +noexcept(false) { const anna::DataBlock& constdbms(static_cast (data).getValue()); anna::DataBlock& dataBlock(const_cast (constdbms)); dataBlock.clear(); @@ -223,7 +223,7 @@ throw(RuntimeException) { } void OutputBind::do_write(const dbms::LongBlock& data) const -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { const anna::DataBlock& dataBlock = data.getValue(); if(a_blob.handle == NULL) { @@ -242,7 +242,7 @@ throw(RuntimeException, dbms::DatabaseException) { } void OutputBind::decodeDate(dbms::Data& data) const -throw(RuntimeException, dbms::DatabaseException) { +noexcept(false) { if(data.isNull() == true) return;