Remove dynamic exceptions
[anna.git] / source / dbms.mysql / Database.cpp
index 9508158..ccc64f1 100644 (file)
@@ -31,7 +31,7 @@ mysql::Database::Database(const char* componentName, const char* dbmsName, const
 }
 
 void mysql::Database::do_initialize()
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tm("anna::dbms::mysql::Database", "do_initialize", ANNA_FILE_LOCATION));
   dbms::Database::do_initialize();
 }
@@ -47,31 +47,31 @@ mysql::Database::~Database() {
 }
 
 dbms::Connection* mysql::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* mysql::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* mysql::Database::allocateInputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
   return new InputBind(name, data);
 }
 
 void mysql::Database::deallocate(dbms::InputBind* inputBind)
-throw() {
+{
   delete(InputBind*) inputBind;
 }
 
 dbms::OutputBind* mysql::Database::allocateOutputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
   return new OutputBind(name, data);
 }
 
 void mysql::Database::deallocate(dbms::OutputBind* outputBind)
-throw() {
+{
   delete(OutputBind*) outputBind;
 }