VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
Main Page
Classes
Files
File List
File Members
VisualIB
Classes
Files
File List
VIB
dllmain.cpp
VIB.h
vibdatabase.cpp
vibdatabase.h
vibdataset.cpp
vibdataset.h
vibdefines.h
viberror.cpp
viberror.h
vibexception.h
vibinlines.h
vibsql.cpp
vibsql.h
vibstring.cpp
vibstring.h
vibtransaction.cpp
vibtransaction.h
vibtypes.h
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
vibexception.h
Go to the documentation of this file.
1
10
#ifndef VIBEXCEPTION_H__
11
#define VIBEXCEPTION_H__
12
13
__declspec(dllexport) void __cdecl
VIBError_Report
(const
char
*message,
int
iberror,
int
sqlcode);
14
15
// For just catching an error
16
#define CATCH_EIBERROR \
17
catch(EIBError &error) \
18
{ \
19
VIBError_Report(error.Message.c_str(), \
20
error.IBErrorCode, \
21
error.SQLCode); \
22
} \
23
catch(...) \
24
{ \
25
VIBError_Report("Internal", 0, 0); \
26
}
27
28
// Catch error and return VIBFALSE
29
#define CATCH_EIBERROR_RF \
30
catch(EIBError &error) \
31
{ \
32
VIBError_Report(error.Message.c_str(), \
33
error.IBErrorCode, \
34
error.SQLCode); \
35
return VIBFALSE; \
36
} \
37
catch(...) \
38
{ \
39
VIBError_Report("Internal", 0, 0); \
40
return VIBFALSE; \
41
}
42
43
44
#endif
45
46
// EOF
47
vibexception.h
Generated on Thu Jun 20 2013 10:46:26 for VisualIB by
1.8.2