#ifndef __CELOXICA_BASE_EXCEPTION_HPP__ #define __CELOXICA_BASE_EXCEPTION_HPP__ #ifdef __cplusplus # include # include # include # define CLX_DECLARE_EXCEPTION(name_m, base_exception_m, prefix_m) \ struct name_m : public base_exception_m \ { \ explicit name_m(std::string const & what_arg) : \ base_exception_m(prefix_m + what_arg) \ {} \ }; #endif // ifdef __cplusplus #endif // ifndef __CELOXICA_BASE_EXCEPTION_HPP__