Exception type used to propagate C runtime errors across functions. More...
#include <libc_error.hpp>

Public Member Functions | |
| libc_error () | |
| virtual | ~libc_error () throw () |
| int | num () const |
| Returns the value of errno at the time the exception was thrown. More... | |
| const std::string & | desc () const |
| Returns an explanatory string describing the runtime error alone. More... | |
| const char * | what () const throw () |
| Returns an explanatory string describing the exception. More... | |
Private Attributes | |
| int | e_ |
| std::string | desc_ |
| std::string | msg_ |
Exception type used to propagate C runtime errors across functions.
Definition at line 19 of file libc_error.hpp.
|
inline |
Definition at line 22 of file libc_error.hpp.
|
inlinevirtual | |||||||||||||
Definition at line 29 of file libc_error.hpp.
|
inline |
Returns an explanatory string describing the runtime error alone.
Definition at line 40 of file libc_error.hpp.
References desc_.
|
inline |
Returns the value of errno at the time the exception was thrown.
Definition at line 34 of file libc_error.hpp.
References e_.
|
inline | |||||||||||||
Returns an explanatory string describing the exception.
Definition at line 46 of file libc_error.hpp.
References msg_.
|
private |
Definition at line 53 of file libc_error.hpp.
Referenced by desc().
|
private |
Definition at line 52 of file libc_error.hpp.
Referenced by num().
|
private |
Definition at line 54 of file libc_error.hpp.
Referenced by what().
1.8.8