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

qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library More...

#include <QxSqlError.h>

Inheritance diagram for qx::dao::sql_error:

Public Member Functions

 sql_error (const QSqlError &err)
 
virtual ~sql_error () throw ()
 
virtual const char * what () const throw ()
 
QSqlError get () const
 

Private Attributes

QSqlError m_error
 
QByteArray m_errorMessage
 

Detailed Description

qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library

Definition at line 60 of file QxSqlError.h.

Constructor & Destructor Documentation

◆ sql_error()

qx::dao::sql_error::sql_error ( const QSqlError & err)
inline

Definition at line 71 of file QxSqlError.h.

◆ ~sql_error()

virtual qx::dao::sql_error::~sql_error ( )
throw ( )
inlinevirtual

Definition at line 75 of file QxSqlError.h.

Member Function Documentation

◆ get()

QSqlError qx::dao::sql_error::get ( ) const
inline

Definition at line 78 of file QxSqlError.h.

◆ what()

virtual const char * qx::dao::sql_error::what ( ) const
throw ( )
inlinevirtual

Definition at line 77 of file QxSqlError.h.

Member Data Documentation

◆ m_error

QSqlError qx::dao::sql_error::m_error
private

Definition at line 65 of file QxSqlError.h.

◆ m_errorMessage

QByteArray qx::dao::sql_error::m_errorMessage
private

Definition at line 66 of file QxSqlError.h.


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