Fixed include directory name.
[libsex.git] / tests / framework / ExampleException2.hxx
blob0e26f0d1d72f65d0d8fddab7a80b904cc1b50f78
1 /**
2 * @file
4 * Shows how to _declare_ an exception class that uses
5 * placedholders in its message template.
7 * Note that it is _declared_ in exactly the same way as a
8 * basic exception class.
9 */
11 #ifndef EXAMPLEEXCEPTION2_HXX
12 #define EXAMPLEEXCEPTION2_HXX
14 #include <libsex/declare.hxx>
15 #include <libsex/Exception.hxx>
17 // ExampleException2 inherits from libsex::Exception.
18 LIBSEX_DECLARE(libsex::Exception, ExampleException2)
20 #endif