diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:34:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:43:50 +0200 |
commit | 6ba692aabf2afae6dab83139ca5e219bfc614890 (patch) | |
tree | 75eec5e22602a5ddae9bc82c5d8253f922853c0c /odb/sqlite/exceptions.hxx | |
parent | 3bb29e43f60229bcac00777c839174703f848c16 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/sqlite/exceptions.hxx')
-rw-r--r-- | odb/sqlite/exceptions.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/sqlite/exceptions.hxx b/odb/sqlite/exceptions.hxx index 8a21d5e..6bae164 100644 --- a/odb/sqlite/exceptions.hxx +++ b/odb/sqlite/exceptions.hxx @@ -29,6 +29,9 @@ namespace odb { virtual const char* what () const throw (); + + virtual forced_rollback* + clone () const; }; struct LIBODB_SQLITE_EXPORT database_exception: odb::database_exception @@ -60,6 +63,9 @@ namespace odb virtual const char* what () const throw (); + virtual database_exception* + clone () const; + private: int error_; int extended_error_; @@ -75,6 +81,9 @@ namespace odb virtual const char* what () const throw (); + virtual cli_exception* + clone () const; + private: std::string what_; }; |