4 * Shows how to _declare_ basic exception class.
7 #ifndef EXAMPLEEXCEPTION1_HXX
8 #define EXAMPLEEXCEPTION1_HXX
10 #include <libsex/declare.hxx>
11 #include <libsex/Exception.hxx>
16 // Forward declare to ensure the namespace exists.
17 class ExampleException1
;
21 // ExampleException1 inherits from libsex::Exception.
22 LIBSEX_DECLARE(libsex::Exception
, example
, ExampleException1
)