summaryrefslogtreecommitdiff
path: root/include/sqlite3xx/except.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqlite3xx/except.hpp')
-rw-r--r--include/sqlite3xx/except.hpp5
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