#include <error_reporter.h>
Definition at line 6 of file error_reporter.h.
Public Member Functions | |
wxDatabaseErrorReporter () | |
virtual | ~wxDatabaseErrorReporter () |
const wxString & | GetErrorMessage () |
int | GetErrorCode () |
void | ResetErrorCodes () |
Protected Member Functions | |
void | SetErrorMessage (const wxString &strErrorMessage) |
void | SetErrorCode (int nErrorCode) |
void | ThrowDatabaseException () |
Private Attributes | |
wxString | m_strErrorMessage |
int | m_nErrorCode |
wxDatabaseErrorReporter::wxDatabaseErrorReporter | ( | ) |
Definition at line 3 of file error_reporter.cpp.
References ResetErrorCodes().
|
virtual |
Definition at line 8 of file error_reporter.cpp.
int wxDatabaseErrorReporter::GetErrorCode | ( | ) |
Definition at line 17 of file error_reporter.cpp.
References m_nErrorCode.
Referenced by ThrowDatabaseException().
const wxString & wxDatabaseErrorReporter::GetErrorMessage | ( | ) |
Definition at line 12 of file error_reporter.cpp.
References m_strErrorMessage.
Referenced by ThrowDatabaseException().
void wxDatabaseErrorReporter::ResetErrorCodes | ( | ) |
Definition at line 32 of file error_reporter.cpp.
References m_nErrorCode, m_strErrorMessage, and wxDATABASE_OK.
Referenced by wxDatabaseErrorReporter().
|
protected |
Definition at line 27 of file error_reporter.cpp.
References m_nErrorCode.
Referenced by wxDatabase::GetSingleResultBlob(), wxDatabase::GetSingleResultBool(), wxDatabase::GetSingleResultDate(), wxDatabase::GetSingleResultDouble(), wxDatabase::GetSingleResultInt(), wxDatabase::GetSingleResultLong(), and wxDatabase::GetSingleResultString().
|
protected |
Definition at line 22 of file error_reporter.cpp.
References m_strErrorMessage.
Referenced by wxDatabase::GetSingleResultBlob(), wxDatabase::GetSingleResultBool(), wxDatabase::GetSingleResultDate(), wxDatabase::GetSingleResultDouble(), wxDatabase::GetSingleResultInt(), wxDatabase::GetSingleResultLong(), and wxDatabase::GetSingleResultString().
|
protected |
Definition at line 38 of file error_reporter.cpp.
References GetErrorCode(), and GetErrorMessage().
Referenced by wxDatabase::GetSingleResultBlob(), wxDatabase::GetSingleResultBool(), wxDatabase::GetSingleResultDate(), wxDatabase::GetSingleResultDouble(), wxDatabase::GetSingleResultInt(), wxDatabase::GetSingleResultLong(), and wxDatabase::GetSingleResultString().
|
private |
Definition at line 28 of file error_reporter.h.
Referenced by GetErrorCode(), ResetErrorCodes(), and SetErrorCode().
|
private |
Definition at line 27 of file error_reporter.h.
Referenced by GetErrorMessage(), ResetErrorCodes(), and SetErrorMessage().