aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_exception.h
blob: 9a7acf715ecb9c3a2c5d0d7590c90238f64ebb00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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