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 #include <libsex/declare.hxx>
15 #include <libsex/Exception.hxx>
17 // ExampleException2 inherits from libsex::Exception.
18 LIBSEX_DECLARE(libsex::Exception
, ExampleException2
)