1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef EAX_EXCEPTION_INCLUDED #define EAX_EXCEPTION_INCLUDED #include <stdexcept> #include <string> class EaxException : public std::runtime_error { static std::string make_message(const char *context, const char *message); public: EaxException(const char *context, const char *message); ~EaxException() override; }; // EaxException #endif // !EAX_EXCEPTION_INCLUDED