VisualIB  1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
vibexception.h File Reference

VisualIB - InterBase wrapper for use in Visual Studio. More...

Go to the source code of this file.

Macros

#define CATCH_EIBERROR
 
#define CATCH_EIBERROR_RF
 

Functions

 __declspec (dllexport) void __cdecl VIBError_Report(const char *message
 

Variables

int iberror
 
int int sqlcode
 

Detailed Description

VisualIB - InterBase wrapper for use in Visual Studio.

Internal Exception Utilities

Author
James Haley
Warning
Internal only. Do not include in user programs!

Macro Definition Documentation

#define CATCH_EIBERROR
Value:
catch(EIBError &error) \
{ \
VIBError_Report(error.Message.c_str(), \
error.IBErrorCode, \
error.SQLCode); \
} \
catch(...) \
{ \
VIBError_Report("Internal", 0, 0); \
}
#define CATCH_EIBERROR_RF
Value:
catch(EIBError &error) \
{ \
VIBError_Report(error.Message.c_str(), \
error.IBErrorCode, \
error.SQLCode); \
return VIBFALSE; \
} \
catch(...) \
{ \
VIBError_Report("Internal", 0, 0); \
return VIBFALSE; \
}