Public Member Functions | |
COdbcException (const SQLRETURN ret, const StringA &errorString) | |
int | GetSqlErrorCode () |
COdbcException (const COdbcException &other) | |
COdbcException & | operator= (const COdbcException &other) |
![]() | |
PROUD_API | Exception (const char *text) |
PROUD_API | Exception (const wchar_t *text) |
PROUD_API | Exception (std::exception &src) |
PROUD_API | Exception (ErrorInfo *src) |
PROUD_API | Exception (const Exception &src) |
PROUD_API const char * | what () const throw () |
Protected Attributes | |
SQLRETURN | m_ret |
Additional Inherited Members | |
![]() | |
HostID | m_remote |
void * | m_pVoidSource |
std::exception * | m_pStdSource |
ExceptionType | m_exceptionType |
RefCount< ErrorInfo > | m_errorInfoSource |
String | m_userCallbackName |
void * | m_delegateObject |
StringA | chMsg |
It is a class that deals with ODBC exception. You can check the detailed information by what() function.
int Proud::COdbcException::GetSqlErrorCode | ( | ) |
It returns the return value that has been defined in sql.h or sqlext.h.