Exception class for sqlite and KompexSQLiteWrapper errors.
More...
#include <KompexSQLiteException.h>
|
| SQLiteException (const std::string &filename, unsigned int lineNumber, std::string errDescription="", int internalSqliteResultCode=-1) |
| Overloaded constructor. More...
|
|
| SQLiteException (const std::string &filename, unsigned int lineNumber, const char *errDescription="", int internalSqliteResultCode=-1) |
| Overloaded constructor. More...
|
|
void | Show () const |
|
std::string | GetString () const |
| Get all error information (filename, line, error message) as std::string. More...
|
|
std::string | GetErrorDescription () const |
| Returns an error description. More...
|
|
std::string | GetFilename () const |
| Returns the filename in which the error occured. More...
|
|
unsigned int | GetLineNumber () const |
| Returns the line number in which the error occured. More...
|
|
int | GetSqliteResultCode () const |
|
Exception class for sqlite and KompexSQLiteWrapper errors.
Kompex::SQLiteException::SQLiteException |
( |
const std::string & |
filename, |
|
|
unsigned int |
lineNumber, |
|
|
std::string |
errDescription = "" , |
|
|
int |
internalSqliteResultCode = -1 |
|
) |
| |
|
inline |
Kompex::SQLiteException::SQLiteException |
( |
const std::string & |
filename, |
|
|
unsigned int |
lineNumber, |
|
|
const char * |
errDescription = "" , |
|
|
int |
internalSqliteResultCode = -1 |
|
) |
| |
|
inline |
std::string Kompex::SQLiteException::GetErrorDescription |
( |
| ) |
const |
|
inline |
Returns an error description.
std::string Kompex::SQLiteException::GetFilename |
( |
| ) |
const |
|
inline |
Returns the filename in which the error occured.
unsigned int Kompex::SQLiteException::GetLineNumber |
( |
| ) |
const |
|
inline |
Returns the line number in which the error occured.
int Kompex::SQLiteException::GetSqliteResultCode |
( |
| ) |
const |
|
inline |
std::string Kompex::SQLiteException::GetString |
( |
| ) |
const |
|
inline |
Get all error information (filename, line, error message) as std::string.
void Kompex::SQLiteException::Show |
( |
| ) |
const |
|
inline |
Shows all error information (filename, line, error message).
Output: std::cerr
std::string Kompex::SQLiteException::mErrorDescription |
|
private |
std::string Kompex::SQLiteException::mFilename |
|
private |
Filename in which the error occured.
int Kompex::SQLiteException::mInternalSqliteResultCode |
|
private |
Internal SQLite result code.
unsigned int Kompex::SQLiteException::mLineNumber |
|
private |
Line number in which the error occured.
The documentation for this class was generated from the following file: