OSDN Git Service

fa2f19cad502f82ee0603de492d16c0a02a0e697
[islib/islib.git] / system_error.hpp
1 #ifndef DEFINES_ISLIB_SYSTEM_ERROR_HPP
2
3 #define DEFINES_ISLIB_SYSTEM_ERROR_HPP
4
5 //
6 // Inclusion of standard header file
7 //
8 #include <stdexcept>
9 #include <string>
10
11 namespace islib
12   {
13     //
14     // Definition of class
15     //
16     class system_error:
17       public std::runtime_error
18       {
19       public:
20         //
21         // Definition of type
22         //
23         typedef system_error this_type;
24         typedef std::string string_type;
25
26         //
27         // Declaration of constructor
28         //
29         explicit system_error ( string_type const & );
30       };
31   }
32
33 #endif // DEFINES_ISLIB_SYSTEM_ERROR_HPP
34
35 //
36 // End of file
37 //