Remove dynamic exceptions
[anna.git] / source / dbms.oracle / Database.cpp
index a90785e..2ff1553 100644 (file)
@@ -37,7 +37,7 @@ oracle::Database::Database(const char* componentName, const char* dbmsName) :
 }
 
 void oracle::Database::do_initialize()
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tm("anna::dbms::oracle::Database", "do_initialize", ANNA_FILE_LOCATION));
 
   if(a_env != NULL) {
@@ -89,32 +89,32 @@ oracle::Database::~Database() {
 }
 
 dbms::Connection* oracle::Database::allocateConnection(const std::string& name, const char* user, const char* password)
-throw(RuntimeException) {
+noexcept(false) {
   return new Connection(*this, name, user, password);
 }
 
 dbms::Statement* oracle::Database::allocateStatement(const char* name, const std::string& expression, const bool isCritical)
-throw(RuntimeException) {
+noexcept(false) {
   return new Statement(*this, name, expression, isCritical);
 }
 
 dbms::InputBind* oracle::Database::allocateInputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
   return new InputBind(name, data);
 }
 
 void oracle::Database::deallocate(dbms::InputBind* inputBind)
-throw() {
+{
   delete(InputBind*) inputBind;
 }
 
 dbms::OutputBind* oracle::Database::allocateOutputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
   return new OutputBind(name, data);
 }
 
 void oracle::Database::deallocate(dbms::OutputBind* outputBind)
-throw() {
+{
   delete(OutputBind*) outputBind;
 }
 
@@ -128,7 +128,7 @@ throw() {
  */
 /*static*/
 void oracle::Database::initializeDecimalPoint()
-throw(RuntimeException) {
+noexcept(false) {
   setlocale(LC_NUMERIC, "");
   struct lconv *locale = localeconv();