QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

qx::exception : exception with error code and error description More...

#include <QxException.h>

Inheritance diagram for qx::exception:

Public Member Functions

 exception (const QString &desc)
 
 exception (long code, const QString &desc)
 
virtual ~exception () throw ()
 
virtual const char * what () const throw ()
 
long getCode () const
 
QString getDescription () const
 
qx_bool toQxBool () const
 

Private Member Functions

void updateWhat ()
 

Private Attributes

long m_code
 Error code.
 
QString m_desc
 Error description.
 
QString m_what
 Formatted error : code + "^" + description.
 

Detailed Description

qx::exception : exception with error code and error description

Definition at line 57 of file QxException.h.

Constructor & Destructor Documentation

◆ exception() [1/2]

qx::exception::exception ( const QString & desc)
inline

Definition at line 68 of file QxException.h.

◆ exception() [2/2]

qx::exception::exception ( long code,
const QString & desc )
inline

Definition at line 69 of file QxException.h.

◆ ~exception()

virtual qx::exception::~exception ( )
throw ( )
inlinevirtual

Definition at line 70 of file QxException.h.

Member Function Documentation

◆ getCode()

long qx::exception::getCode ( ) const
inline

Definition at line 74 of file QxException.h.

◆ getDescription()

QString qx::exception::getDescription ( ) const
inline

Definition at line 75 of file QxException.h.

◆ toQxBool()

qx_bool qx::exception::toQxBool ( ) const
inline

Definition at line 76 of file QxException.h.

◆ updateWhat()

void qx::exception::updateWhat ( )
inlineprivate

Definition at line 80 of file QxException.h.

◆ what()

virtual const char * qx::exception::what ( ) const
throw ( )
inlinevirtual

Definition at line 72 of file QxException.h.

Member Data Documentation

◆ m_code

long qx::exception::m_code
private

Error code.

Definition at line 62 of file QxException.h.

◆ m_desc

QString qx::exception::m_desc
private

Error description.

Definition at line 63 of file QxException.h.

◆ m_what

QString qx::exception::m_what
private

Formatted error : code + "^" + description.

Definition at line 64 of file QxException.h.


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