Prepared release.
[libsex.git] / tests / framework / ExampleException1.hxx
blobbc1efca6e1e2e7ae8109c891129d5eba71cea9dc
1 /**
2 * @file
4 * Shows how to _declare_ basic exception class.
5 */
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)
17 #endif