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.
11 #ifndef EXAMPLEEXCEPTION2_HXX
12 #define EXAMPLEEXCEPTION2_HXX
14 // Remember to adjust include path (replace "source" by "libsex").
15 #include <source/declare.hxx>
16 #include <source/Exception.hxx>
18 // ExampleException2 inherits from libsex::Exception.
19 LIBSEX_DECLARE(libsex::Exception
, ExampleException2
)