4 * Macro @ref LIBSEX_DECLARE.
7 #ifndef LIBSEX_DECLARE_HXX
8 #define LIBSEX_DECLARE_HXX
10 #include <source/Exception.hxx>
12 /// Macro for declaring exception classes (.hxx).
13 #define LIBSEX_DECLARE(parent, name) \
14 class name : public parent\
17 static const char* const TEMPLATE;\
18 name(const char* const errorMessage);\
20 const char* const errorMessage,\
21 const libsex::Exception& previous);\