Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Exception Handling enabling as option
[OOFILE macros]


Detailed Description

Exception handling is optional in OOFILE and you can build without exceptions defined.

use \ingroup oofExceptionMacros to include items in this group


Defines

#define OOF_EXCEPTIONS_AVAILABLE
 Indicates compiler supports exceptions.

#define OOF_SUPPRESS_EXCEPTIONS
 Option to prevent using exceptions in OOFILE regardless of compiler or its settings.

#define OOF_USING_EXCEPTIONS
 Indicates OOFILE is using exceptions.

#define RAISE_EXCEPTION(E)   throw(E)
 Macro to allow us to either throw an exception or call dbConnect::raise.


Define Documentation

#define OOF_EXCEPTIONS_AVAILABLE
 

Indicates compiler supports exceptions.

Can define in makefile or leave it to OOFILE to work out for Win and Mac compilers.

#define OOF_SUPPRESS_EXCEPTIONS
 

Option to prevent using exceptions in OOFILE regardless of compiler or its settings.

#define OOF_USING_EXCEPTIONS
 

Indicates OOFILE is using exceptions.

#define RAISE_EXCEPTION  )     throw(E)
 

Macro to allow us to either throw an exception or call dbConnect::raise.

Must be used throughout OOFILE instead of 'throw' to continue to compile without exceptions, on older compilers.


Generated on Fri Jan 2 01:36:01 2004 for OOFILE by doxygen 1.3.5