The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CODBCException Class Reference

Inheritance diagram for CODBCException:
Collaboration diagram for CODBCException:

List of all members.

Public Member Functions

 CODBCException (const JetByteTools::Core::_tstring &where, const CODBCSmartHandle &handle, RETCODE retCode=SQL_SUCCESS)
 CODBCException (const JetByteTools::Core::_tstring &where, SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode=SQL_SUCCESS)
 CODBCException (const JetByteTools::Core::_tstring &where, const JetByteTools::Core::_tstring &message)
 CODBCException (const JetByteTools::Core::_tstring &where, const JetByteTools::Core::_tstring &message, SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode=SQL_SUCCESS)
 CODBCException (const JetByteTools::Core::_tstring &where, const JetByteTools::Core::_tstring &message, const CODBCSmartHandle &handle, RETCODE retCode=SQL_SUCCESS)
 ~CODBCException () override
virtual _tstring GetWhere () const
virtual _tstring GetWhat () const
virtual _tstring GetDetails () const
virtual std::string GetDetailsA () const

Static Public Member Functions

static
JetByteTools::Core::_tstring 
GetErrorMessage (const CODBCSmartHandle &handle, RETCODE retCode=SQL_SUCCESS)
static
JetByteTools::Core::_tstring 
GetErrorMessage (SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode=SQL_SUCCESS)
static
JetByteTools::Core::_tstring 
GetErrorMessage (const JetByteTools::Core::_tstring &message, const CODBCSmartHandle &handle, RETCODE retCode=SQL_SUCCESS)
static
JetByteTools::Core::_tstring 
GetErrorMessage (const JetByteTools::Core::_tstring &message, SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode=SQL_SUCCESS)
static void ThrowOnFailure (const JetByteTools::Core::_tstring &where, const CODBCSmartHandle &handle, RETCODE retCode)
static void ThrowOnFailure (const JetByteTools::Core::_tstring &where, SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode)
static void ThrowOnFailure (const JetByteTools::Core::_tstring &where, const JetByteTools::Core::_tstring &message, const CODBCSmartHandle &handle, RETCODE retCode)
static void ThrowOnFailure (const JetByteTools::Core::_tstring &where, const JetByteTools::Core::_tstring &message, SQLHANDLE handle, SQLSMALLINT type, RETCODE retCode)

Protected Attributes

const _tstring m_where
const _tstring m_message
const _tstring m_details


Constructor & Destructor Documentation

CODBCException ( const JetByteTools::Core::_tstring where,
const CODBCSmartHandle handle,
RETCODE  retCode = SQL_SUCCESS 
)

CODBCException ( const JetByteTools::Core::_tstring where,
SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode = SQL_SUCCESS 
)

CODBCException ( const JetByteTools::Core::_tstring where,
const JetByteTools::Core::_tstring message,
SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode = SQL_SUCCESS 
)

CODBCException ( const JetByteTools::Core::_tstring where,
const JetByteTools::Core::_tstring message,
const CODBCSmartHandle handle,
RETCODE  retCode = SQL_SUCCESS 
)

~CODBCException (  )  [override]


Member Function Documentation

_tstring GetErrorMessage ( const CODBCSmartHandle handle,
RETCODE  retCode = SQL_SUCCESS 
) [static]

_tstring GetErrorMessage ( SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode = SQL_SUCCESS 
) [static]

static JetByteTools::Core::_tstring GetErrorMessage ( const JetByteTools::Core::_tstring message,
const CODBCSmartHandle handle,
RETCODE  retCode = SQL_SUCCESS 
) [static]

static JetByteTools::Core::_tstring GetErrorMessage ( const JetByteTools::Core::_tstring message,
SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode = SQL_SUCCESS 
) [static]

static void ThrowOnFailure ( const JetByteTools::Core::_tstring where,
const CODBCSmartHandle handle,
RETCODE  retCode 
) [static]

static void ThrowOnFailure ( const JetByteTools::Core::_tstring where,
SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode 
) [static]

static void ThrowOnFailure ( const JetByteTools::Core::_tstring where,
const JetByteTools::Core::_tstring message,
const CODBCSmartHandle handle,
RETCODE  retCode 
) [static]

static void ThrowOnFailure ( const JetByteTools::Core::_tstring where,
const JetByteTools::Core::_tstring message,
SQLHANDLE  handle,
SQLSMALLINT  type,
RETCODE  retCode 
) [static]

_tstring GetWhere (  )  const [virtual, inherited]

Reimplemented in CSEHException.

_tstring GetWhat (  )  const [virtual, inherited]

Reimplemented in CException, CException, and CSEHException.

_tstring GetDetails (  )  const [virtual, inherited]

Reimplemented in CSEHException.

std::string GetDetailsA (  )  const [virtual, inherited]

Reimplemented in CSEHException.


Member Data Documentation

const _tstring m_where [protected, inherited]

const _tstring m_message [protected, inherited]

const _tstring m_details [protected, inherited]


Generated on Sun Sep 12 19:09:11 2021 for The Server Framework - v7.4 by doxygen 1.5.3