diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-09-30 02:23:10 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-09-30 02:23:10 +0000 |
commit | 9d8b924dd0d2971e359beca9a7b10720b08a7e0d (patch) | |
tree | 234fc0bcd1d91bf1a991691c7c8e9631a871c474 /cpp/src/Freeze/TransactionI.cpp | |
parent | Removed DB, cleaned up configuration (diff) | |
download | ice-9d8b924dd0d2971e359beca9a7b10720b08a7e0d.tar.bz2 ice-9d8b924dd0d2971e359beca9a7b10720b08a7e0d.tar.xz ice-9d8b924dd0d2971e359beca9a7b10720b08a7e0d.zip |
Removed DB, cleaned up configuration
Diffstat (limited to 'cpp/src/Freeze/TransactionI.cpp')
-rw-r--r-- | cpp/src/Freeze/TransactionI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Freeze/TransactionI.cpp b/cpp/src/Freeze/TransactionI.cpp index 0e28f9c9acf..514800a741f 100644 --- a/cpp/src/Freeze/TransactionI.cpp +++ b/cpp/src/Freeze/TransactionI.cpp @@ -14,7 +14,7 @@ #include <Freeze/TransactionI.h> #include <Freeze/ConnectionI.h> -#include <Freeze/DBException.h> +#include <Freeze/Exception.h> void @@ -29,14 +29,14 @@ Freeze::TransactionI::commit() catch(const ::DbDeadlockException& dx) { cleanup(); - DBDeadlockException ex(__FILE__, __LINE__); + DeadlockException ex(__FILE__, __LINE__); ex.message = dx.what(); throw ex; } catch(const ::DbException& dx) { cleanup(); - DBException ex(__FILE__, __LINE__); + DatabaseException ex(__FILE__, __LINE__); ex.message = dx.what(); throw ex; } @@ -56,14 +56,14 @@ Freeze::TransactionI::rollback() catch(const ::DbDeadlockException& dx) { cleanup(); - DBDeadlockException ex(__FILE__, __LINE__); + DeadlockException ex(__FILE__, __LINE__); ex.message = dx.what(); throw ex; } catch(const ::DbException& dx) { cleanup(); - DBException ex(__FILE__, __LINE__); + DatabaseException ex(__FILE__, __LINE__); ex.message = dx.what(); throw ex; } @@ -80,7 +80,7 @@ Freeze::TransactionI::TransactionI(ConnectionI* connection) : } catch(const ::DbException& dx) { - DBException ex(__FILE__, __LINE__); + DatabaseException ex(__FILE__, __LINE__); ex.message = dx.what(); throw ex; } |