4 * Shows how to _define_ an exception class that contains
5 * placeholders in its message template.
8 #include <libsex/define.hxx>
9 #include <libsex/Exception.hxx>
10 #include <tests/framework/ExampleException2.hxx>
12 // Define ExampleException2 and provide a message template
13 // (see printf for a list and explanation of placeholders).
15 LIBSEX_DEFINE(libsex::Exception
, example
, ExampleException2
, "%s is %d")