Kompex SQLite Wrapper  1.9.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
Kompex::SQLiteException Class Reference

Exception class for sqlite and KompexSQLiteWrapper errors. More...

#include <KompexSQLiteException.h>

Public Member Functions

 SQLiteException (const std::string &filename, unsigned int line, std::string errDescription="")
 Overloaded constructor. More...
 
 SQLiteException (const std::string &filename, unsigned int line, const char *errDescription="")
 Overloaded constructor. More...
 
void Show () const
 
std::string GetString () const
 Get all error information as std::string. More...
 

Private Attributes

std::string mErrorDescription
 Error description. More...
 
std::string mFilename
 Filename in which the error occured. More...
 
unsigned int mLine
 Line number in which the error occured. More...
 

Detailed Description

Exception class for sqlite and KompexSQLiteWrapper errors.

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Member Data Documentation

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.


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