OSDN Git Service

Change symbolic links to regular files.
[islib/islib.git] / normal_termination.hpp
1 #ifndef DEFINES_ISLIB_NORMAL_TERMINATION_HPP
2
3 #define DEFINES_ISLIB_NORMAL_TERMINATION_HPP
4
5 //
6 // Inclusion of standard header file
7 //
8 #include <exception>
9
10 namespace islib
11   {
12     //
13     // Definition of class
14     //
15     class normal_termination:
16       public std::exception
17       {
18       public:
19         //
20         // Definition of type
21         //
22         typedef normal_termination this_type;
23
24         //
25         // Declaration of constructor
26         //
27         explicit normal_termination ( int );
28
29         //
30         // Declaration of destructor
31         //
32         virtual ~normal_termination () throw ();
33
34         //
35         // Declaration of method
36         //
37         virtual int get_exit_status () const throw ();
38         virtual char const *what () const throw ();
39
40       private:
41         //
42         // Declaration of data member
43         //
44         int exit_status;
45       };
46   }
47
48 #endif // DEFINES_ISLIB_NORMAL_TERMINATION_HPP
49
50 //
51 // End of file
52 //