aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/eax/exception.h')
-rw-r--r--al/eax/exception.h25
1 files changed, 25 insertions, 0 deletions
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 <stdexcept>
+#include <string>
+
+
+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