Remove dynamic exceptions
[anna.git] / source / dbms.oracle / InputBind.cpp
index c554843..0855a57 100644 (file)
@@ -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 <InputBind*>(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 <dbms::Float&>(data);
   InputBind* _this = const_cast <InputBind*>(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 <dbms::ShortBlock&>(data).getSize();
   InputBind* _this = const_cast <InputBind*>(this);
 
@@ -180,7 +180,7 @@ throw() {
 }
 
 void InputBind::codeDate(dbms::Data& data) const
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
   dbms::Date& date = static_cast <dbms::Date&>(data);
   ub4 fsec(0);