eax_exception.h 405 B

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