#include <KompexSQLiteException.h>
Public Member Functions | |
SQLiteException (const std::string &filename, unsigned int line, std::string errDescription="") | |
Overloaded constructor. | |
SQLiteException (const std::string &filename, unsigned int line, const char *errDescription="") | |
Overloaded constructor. | |
void | Show () const |
std::string | GetString () const |
Get all error information as std::string. | |
Private Attributes | |
std::string | mErrorDescription |
Error description. | |
std::string | mFilename |
Filename in which the error occured. | |
unsigned int | mLine |
Line number in which the error occured. |
Kompex::SQLiteException::SQLiteException | ( | const std::string & | filename, |
unsigned int | line, | ||
std::string | errDescription = "" |
||
) | [inline] |
Overloaded constructor.
Kompex::SQLiteException::SQLiteException | ( | const std::string & | filename, |
unsigned int | line, | ||
const char * | errDescription = "" |
||
) | [inline] |
Overloaded constructor.
std::string Kompex::SQLiteException::GetString | ( | ) | const [inline] |
Get all error information as std::string.
void Kompex::SQLiteException::Show | ( | ) | const [inline] |
Shows all error information.
Output: std::cerr
std::string Kompex::SQLiteException::mErrorDescription [private] |
Error description.
std::string Kompex::SQLiteException::mFilename [private] |
Filename in which the error occured.
unsigned int Kompex::SQLiteException::mLine [private] |
Line number in which the error occured.