From 65e4c20c27f2acf853e58fd4c26ebc0e3eb926c6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 May 2022 02:08:18 -0700 Subject: Move EAX files to their own sub-directory --- al/eax/exception.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 al/eax/exception.h (limited to 'al/eax/exception.h') diff --git a/al/eax/exception.h b/al/eax/exception.h new file mode 100644 index 00000000..9a7acf71 --- /dev/null +++ b/al/eax/exception.h @@ -0,0 +1,25 @@ +#ifndef EAX_EXCEPTION_INCLUDED +#define EAX_EXCEPTION_INCLUDED + + +#include +#include + + +class EaxException : + public std::runtime_error +{ +public: + EaxException( + const char* context, + const char* message); + + +private: + static std::string make_message( + const char* context, + const char* message); +}; // EaxException + + +#endif // !EAX_EXCEPTION_INCLUDED -- cgit v1.2.3