Deriving Your Own Exceptions

You can use the IEXCLASSDECLARE and IEXCLASSIMPLEMENT macros when you want to create your own IException subclasses.

The IEXCLASSDECLARE macro creates a declaration for a subclass of IException or one of its subclasses.

The IEXCLASSIMPLEMENT creates a definition for a subclass of IException or one of its subclasses.



Using Throw Macros
Interpreting Exceptions
Using Assertion Macros
Using try and catch
Rethrowing Exceptions
Tracing Exceptions


The Exceptions Mechanism
Using Exceptions