Version: 1.0.0
include
wx
database
error_reporter.h
Go to the documentation of this file.
1
#ifndef _WX_DATABASE_ERROR_REPORTER_H_
2
#define _WX_DATABASE_ERROR_REPORTER_H_
3
4
#include "
wx/database/wxprec.h
"
5
6
class
WXDLLIMPEXP_DATABASE
wxDatabaseErrorReporter
7
{
8
public
:
9
// ctor
10
wxDatabaseErrorReporter
();
11
12
// dtor
13
virtual
~
wxDatabaseErrorReporter
();
14
15
const
wxString& GetErrorMessage();
16
int
GetErrorCode();
17
18
void
ResetErrorCodes();
19
20
protected
:
21
void
SetErrorMessage(
const
wxString& strErrorMessage);
22
void
SetErrorCode(
int
nErrorCode);
23
24
void
ThrowDatabaseException();
25
26
private
:
27
wxString
m_strErrorMessage
;
28
int
m_nErrorCode
;
29
};
30
31
#endif//_WX_DATABASE_ERROR_REPORTER_H_
32
wxprec.h
wxDatabaseErrorReporter::m_strErrorMessage
wxString m_strErrorMessage
Definition:
error_reporter.h:27
wxDatabaseErrorReporter
Definition:
error_reporter.h:6
wxDatabaseErrorReporter::m_nErrorCode
int m_nErrorCode
Definition:
error_reporter.h:28
WXDLLIMPEXP_DATABASE
#define WXDLLIMPEXP_DATABASE
Definition:
database/dlimpexp.h:21
Generated on Mon Aug 19 2019 16:14:36 for wxDatabase by
Doxygen
1.8.15