4 * Shows how to _declare_ basic exception class.
7 #ifndef EXAMPLEEXCEPTION1_HXX
8 #define EXAMPLEEXCEPTION1_HXX
10 // Remember to adjust include path (replace "source" by "libsex").
11 #include <source/declare.hxx>
12 #include <source/Exception.hxx>
14 // ExampleException1 inherits from libsex::Exception.
15 LIBSEX_DECLARE(libsex::Exception
, ExampleException1
)