Remove dynamic exceptions
[anna.git] / source / dbms.oracle / OutputBind.cpp
index 9b18d68..4009d9a 100644 (file)
@@ -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 <OutputBind*>(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 <dbms::Float&>(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 <dbms::ShortBlock&>(data).getValue());
   anna::DataBlock& dataBlock(const_cast <anna::DataBlock&>(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 <dbms::LongBlock&>(data).getValue());
   anna::DataBlock& dataBlock(const_cast <anna::DataBlock&>(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;