|
Last change
on this file since 42a775 was 5d30c1, checked in by Frederik Heber <heber@…>, 13 years ago |
|
Initial commit based on 3.0.0alpha (here claimed as 2.4).
|
-
Property mode
set to
100644
|
|
File size:
316 bytes
|
| Line | |
|---|
| 1 | #ifdef __GNUG__
|
|---|
| 2 | #pragma implementation
|
|---|
| 3 | #endif
|
|---|
| 4 |
|
|---|
| 5 | #include <errno.h>
|
|---|
| 6 |
|
|---|
| 7 | #include "except.h"
|
|---|
| 8 |
|
|---|
| 9 | errno_exception::~errno_exception() throw()
|
|---|
| 10 | {
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | errno_exception::errno_exception(const std::string &wh)
|
|---|
| 14 | {
|
|---|
| 15 | what_ = wh + ": " + strerror(errno);
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | const char *errno_exception::what() const throw ()
|
|---|
| 19 | {
|
|---|
| 20 | return what_.c_str();
|
|---|
| 21 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.