Remove dynamic exceptions
[anna.git] / source / dbms.oracle / Statement.cpp
index 1cf6e8a..55c94a0 100644 (file)
@@ -22,7 +22,7 @@ dbms::oracle::Statement::~Statement() {
 }
 
 void dbms::oracle::Statement::prepare(dbms::Connection* dbmsConnection)
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tm("anna::dbms::oracle::Statement", "prepare", ANNA_FILE_LOCATION));
   Connection* connection(static_cast <Connection*>(dbmsConnection));
   Database& dbms(static_cast <Database&>(connection->getDatabase()));
@@ -54,7 +54,7 @@ throw(RuntimeException, dbms::DatabaseException) {
 }
 
 dbms::ResultCode dbms::oracle::Statement::execute(dbms::Connection* dbmsConnection)
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
   Connection* connection(static_cast <Connection*>(dbmsConnection));
 
   for(input_iterator ii = input_begin(), maxii = input_end(); ii != maxii; ii ++) {
@@ -95,7 +95,7 @@ throw(RuntimeException, dbms::DatabaseException) {
 //     'fetch' para obtener los datos, pero en Oracle, la primera llamada no har�nada.
 //-------------------------------------------------------------------------------------------------
 bool dbms::oracle::Statement::fetch()
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
   bool result;
 
   if(a_firstFetch == true) {    // (1)