summaryrefslogtreecommitdiff
path: root/src/except.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/except.cpp')
-rw-r--r--src/except.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/except.cpp b/src/except.cpp
index 5ae357d..9a07334 100644
--- a/src/except.cpp
+++ b/src/except.cpp
@@ -44,11 +44,18 @@ sql_error::sql_error( const string &_what, const string &_q )
{
}
-sql_error::~sql_error( ) throw( ){
+sql_error::~sql_error( ) throw( )
+{
}
-const string& sql_error::query( ) const throw( ) {
+const string& sql_error::query( ) const throw( )
+{
return m_q;
}
+database_locked::database_locked( )
+ : failure( "database locked" )
+{
+}
+
} /* namespace sqlite3xx */