diff options
Diffstat (limited to 'include/sqlite3xx/except.hpp')
-rw-r--r-- | include/sqlite3xx/except.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/sqlite3xx/except.hpp b/include/sqlite3xx/except.hpp index 6a70216..742f17c 100644 --- a/include/sqlite3xx/except.hpp +++ b/include/sqlite3xx/except.hpp @@ -47,7 +47,8 @@ class SQLITEXX_LIBEXPORT failure : public sqlitexx_exception, public runtime_err explicit failure( const string &s ); }; -class SQLITEXX_LIBEXPORT sql_error : public failure { +class SQLITEXX_LIBEXPORT sql_error : public failure +{ string m_q; public: @@ -60,12 +61,12 @@ class SQLITEXX_LIBEXPORT sql_error : public failure { const string& query( ) const throw( ); }; -/* -class SQLITEXX_LIBEXPORT db_locked : sql_error { +class SQLITEXX_LIBEXPORT database_locked : public failure +{ public: - explicit db_locket( string &q ); + database_locked( ); }; -*/ -} + +} // namespace sqlite3xx #endif /* SQLITE3XX_EXCEPT_H */ |