aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax/exception.h
blob: 3ae88cdc6d6fb0903ad5b6076fab5fca5dcf96b1 (plain)
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