Public Member Functions | Private Member Functions | Private Attributes | List of all members
soci::odbc_soci_error Class Reference

#include <soci-odbc.h>

Inheritance diagram for soci::odbc_soci_error:
Inheritance graph
[legend]

Public Member Functions

SQLINTEGER native_error_code () const
 
SQLCHAR const * odbc_error_code () const
 
SQLCHAR const * odbc_error_message () const
 
 odbc_soci_error (SQLSMALLINT htype, SQLHANDLE hndl, std::string const &msg)
 
- Public Member Functions inherited from soci::soci_error
 soci_error (std::string const &msg)
 

Private Member Functions

std::string interpret_odbc_error (SQLSMALLINT htype, SQLHANDLE hndl, std::string const &msg)
 

Private Attributes

SQLCHAR message_ [SQL_MAX_MESSAGE_LENGTH+1]
 
SQLINTEGER sqlcode_
 
SQLCHAR sqlstate_ [SQL_SQLSTATE_SIZE+1]
 

Detailed Description

Definition at line 319 of file soci-odbc.h.

Constructor & Destructor Documentation

soci::odbc_soci_error::odbc_soci_error ( SQLSMALLINT  htype,
SQLHANDLE  hndl,
std::string const &  msg 
)
inline

Definition at line 326 of file soci-odbc.h.

Member Function Documentation

std::string soci::odbc_soci_error::interpret_odbc_error ( SQLSMALLINT  htype,
SQLHANDLE  hndl,
std::string const &  msg 
)
inlineprivate

Definition at line 346 of file soci-odbc.h.

SQLINTEGER soci::odbc_soci_error::native_error_code ( ) const
inline

Definition at line 337 of file soci-odbc.h.

SQLCHAR const* soci::odbc_soci_error::odbc_error_code ( ) const
inline

Definition at line 333 of file soci-odbc.h.

SQLCHAR const* soci::odbc_soci_error::odbc_error_message ( ) const
inline

Definition at line 341 of file soci-odbc.h.

Member Data Documentation

SQLCHAR soci::odbc_soci_error::message_[SQL_MAX_MESSAGE_LENGTH+1]
private

Definition at line 321 of file soci-odbc.h.

SQLINTEGER soci::odbc_soci_error::sqlcode_
private

Definition at line 323 of file soci-odbc.h.

SQLCHAR soci::odbc_soci_error::sqlstate_[SQL_SQLSTATE_SIZE+1]
private

Definition at line 322 of file soci-odbc.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41