sqlite3x::database_error Class Reference

Exception type used by the sqlite3x classes. More...

#include <sqlite3x.hpp>

List of all members.

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.


Detailed Description

Exception type used by the sqlite3x classes.

Definition at line 777 of file sqlite3x.hpp.


Constructor & Destructor Documentation

sqlite3x::database_error::database_error ( const char *  format,
  ... 
) [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.


The documentation for this class was generated from the following files:

Generated on Wed Feb 25 15:05:11 2009 for libsqlite3x by  doxygen 1.5.8