diff options
author | Andreas Baumann <Andreas.Baumann@eurospider.com> | 2010-09-06 15:16:38 +0200 |
---|---|---|
committer | Andreas Baumann <Andreas.Baumann@eurospider.com> | 2010-09-06 15:16:38 +0200 |
commit | f6c143f4c4e4f0a8118596909114e34dfc496b92 (patch) | |
tree | 1a372ef0090360cf80c8d3168ba8e4e619c6b349 /include | |
parent | 23979669900d75bccefb5b4a825882d329a2bd9d (diff) | |
download | sqlitexx-f6c143f4c4e4f0a8118596909114e34dfc496b92.tar.gz sqlitexx-f6c143f4c4e4f0a8118596909114e34dfc496b92.tar.bz2 |
fixed test9, works now
Diffstat (limited to 'include')
-rw-r--r-- | include/sqlite3xx/except.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sqlite3xx/except.hpp b/include/sqlite3xx/except.hpp index 742f17c..e19232e 100644 --- a/include/sqlite3xx/except.hpp +++ b/include/sqlite3xx/except.hpp @@ -44,7 +44,7 @@ class SQLITEXX_LIBEXPORT failure : public sqlitexx_exception, public runtime_err virtual exception &base( ) throw( ) { return *this; } public: - explicit failure( const string &s ); + explicit failure( const string &m ); }; class SQLITEXX_LIBEXPORT sql_error : public failure @@ -54,7 +54,7 @@ class SQLITEXX_LIBEXPORT sql_error : public failure public: sql_error( ); explicit sql_error( const string& _q ); - explicit sql_error( const string& _m, const string& _q ); + explicit sql_error( const string& _what, const string& _q ); virtual ~sql_error( ) throw( ); const string& msg( ) const throw( ); @@ -65,6 +65,7 @@ class SQLITEXX_LIBEXPORT database_locked : public failure { public: database_locked( ); + explicit database_locked( const string &_what ); }; } // namespace sqlite3xx |