Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xstream::posix::general_error Class Reference

errors in POSIX usage More...

#include <posix.h>

+ Inheritance diagram for xstream::posix::general_error:

Public Member Functions

 general_error (const std::string &s, int e, const std::string &d="general error")
 
virtual ~general_error () throw ()
 
virtual std::string module () const
 describes the current library module (zlib,bzlib,base64,...) More...
 
virtual const char * what () const throw ()
 

Private Attributes

std::string syscall
 
int error_code
 

Detailed Description

errors in POSIX usage

Definition at line 23 of file except/posix.h.

Constructor & Destructor Documentation

xstream::posix::general_error::general_error ( const std::string s,
int  e,
const std::string d = "general error" 
)
inline

Definition at line 30 of file except/posix.h.

virtual xstream::posix::general_error::~general_error ( )
throw (
)
inlinevirtual

Definition at line 34 of file except/posix.h.

Member Function Documentation

virtual std::string xstream::posix::general_error::module ( ) const
inlinevirtual

describes the current library module (zlib,bzlib,base64,...)

Reimplemented from xstream::fatal_error.

Definition at line 37 of file except/posix.h.

References xstream::fatal_error::module(), and syscall.

virtual const char* xstream::fatal_error::what ( ) const
throw (
)
inlinevirtualinherited

Definition at line 38 of file except.h.

References xstream::fatal_error::module(), and string.

Member Data Documentation

int xstream::posix::general_error::error_code
private

errno

Definition at line 27 of file except/posix.h.

std::string xstream::posix::general_error::syscall
private

syscall that caused the error

Definition at line 26 of file except/posix.h.

Referenced by module().


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