Public Member Functions | Private Member Functions | Private Attributes
utilmm::unix_error Class Reference

#include <system.hh>

List of all members.

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

Detailed Description

Exception raised when a standard C call returns an error. It is based on the errno error report mechanism.

Definition at line 14 of file system.hh.


Constructor & Destructor Documentation

unix_error::unix_error ( std::string const &  desc,
int  error = errno 
) [explicit]

Definition at line 26 of file system.cc.

unix_error::unix_error ( std::string const &  desc) [explicit]

Definition at line 28 of file system.cc.

unix_error::unix_error ( int  error) [explicit]

Definition at line 30 of file system.cc.

unix_error::unix_error ( ) [explicit]

Definition at line 32 of file system.cc.

Definition at line 34 of file system.cc.


Member Function Documentation

int unix_error::error ( ) const

Definition at line 36 of file system.cc.

void unix_error::init_description ( std::string const &  desc) [private]

Definition at line 16 of file system.cc.

char const * unix_error::what ( ) const throw ()

Definition at line 37 of file system.cc.


Member Data Documentation

char utilmm::unix_error::m_desc[512] [private]

Definition at line 16 of file system.hh.

Definition at line 30 of file system.hh.


The documentation for this class was generated from the following files:


utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:31