#include <system.hh>
Public Member Functions | |
int | error () const |
unix_error (std::string const &desc, int error) | |
unix_error (std::string const &desc) | |
unix_error (int error) | |
unix_error () | |
char const * | what () const throw () |
~unix_error () throw () | |
Private Member Functions | |
void | init_description (std::string const &desc) |
Private Attributes | |
char | m_desc [512] |
int | m_error |
Exception raised when a standard C call returns an error. It is based on the errno error report mechanism.
unix_error::unix_error | ( | std::string const & | desc, |
int | error = errno |
||
) | [explicit] |
unix_error::unix_error | ( | std::string const & | desc | ) | [explicit] |
unix_error::unix_error | ( | int | error | ) | [explicit] |
unix_error::unix_error | ( | ) | [explicit] |
unix_error::~unix_error | ( | ) | throw () |
int unix_error::error | ( | ) | const |
void unix_error::init_description | ( | std::string const & | desc | ) | [private] |
char const * unix_error::what | ( | ) | const throw () |
char utilmm::unix_error::m_desc[512] [private] |
int utilmm::unix_error::m_error [private] |