libsqlite3x 2007.10.18
|
Exception type used by the sqlite3x classes. More...
#include <sqlite3x.hpp>
Public Member Functions | |
database_error (const char *format,...) | |
Takes a format specifier compatible with printf. | |
database_error (sqlite3_connection &con) | |
Creates an exception with con.errormsg() as the what() text. | |
virtual char const * | what () const throw () |
Returns this object's error string. | |
Exception type used by the sqlite3x classes.
Definition at line 777 of file sqlite3x.hpp.
|
explicit |
Takes a format specifier compatible with printf.
If the message length surpasses a hard-coded limit (2k?) then it is truncated to fit within that limit.
Definition at line 47 of file sqlite3x_exception.cpp.
sqlite3x::database_error::database_error | ( | sqlite3_connection & | con | ) |
Creates an exception with con.errormsg() as the what() text.
Definition at line 37 of file sqlite3x_exception.cpp.
|
virtual |
Definition at line 35 of file sqlite3x_exception.cpp.
|
virtual |
Returns this object's error string.
Definition at line 42 of file sqlite3x_exception.cpp.