source:
ThirdParty/mpqc_open/src/lib/chemistry/cca/except.h@
e4036a
Last change on this file since e4036a was 860145, checked in by , 8 years ago | |
---|---|
|
|
File size: 307 bytes |
Rev | Line | |
---|---|---|
[0b990d] | 1 | #ifdef __GNUG__ |
2 | #pragma interface | |
3 | #endif | |
4 | ||
5 | #ifndef _except_h | |
6 | #define _except_h | |
7 | ||
8 | #include <stdexcept> | |
9 | ||
10 | class errno_exception: public std::exception { | |
11 | std::string what_; | |
12 | public: | |
13 | ~errno_exception() throw(); | |
14 | errno_exception(const std::string &wh); | |
15 | const char *what() const throw (); | |
16 | }; | |
17 | ||
18 | #endif |
Note:
See TracBrowser
for help on using the repository browser.