From f6c143f4c4e4f0a8118596909114e34dfc496b92 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 6 Sep 2010 15:16:38 +0200 Subject: fixed test9, works now --- include/sqlite3xx/except.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3-54-g00ecf