2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::Error Class Reference
[C++ Wrapper for Standard UNIX Functions]

List of all members.

Detailed Description

Definition at line 49 of file uxerr.hpp.

Public Member Functions

 Error (int c=0, EC_ERRTYPE t=EC_ERRNO)
void set (int c, EC_ERRTYPE t=EC_ERRNO)
EC_ERRTYPE get_type (void) const
int get_code (void) const
 operator int () const
 operator const char * () const
virtual const char * what () const throw ()

Protected Attributes

EC_ERRTYPE e_type
int e_code
char str [50]


Constructor & Destructor Documentation

Ux::Error::Error int  c = 0,
EC_ERRTYPE  t = EC_ERRNO
[inline]
 

Definition at line 55 of file uxerr.hpp.


Member Function Documentation

int Ux::Error::get_code void   )  const [inline]
 

Definition at line 62 of file uxerr.hpp.

EC_ERRTYPE Ux::Error::get_type void   )  const [inline]
 

Definition at line 60 of file uxerr.hpp.

References EC_ERRTYPE.

Ux::Error::operator const char *  )  const [inline]
 

Definition at line 66 of file uxerr.hpp.

References what().

Ux::Error::operator int  )  const [inline]
 

Definition at line 64 of file uxerr.hpp.

void Ux::Error::set int  c,
EC_ERRTYPE  t = EC_ERRNO
[inline]
 

Definition at line 58 of file uxerr.hpp.

const char * Error::what  )  const throw () [virtual]
 

Required what function for subclasses of exception.

Definition at line 38 of file uxerr.cpp.

References EC_EAI, EC_ERRNO, EC_GETDATE, gai_strerror(), and getdate_strerror().

Referenced by operator const char *().


Member Data Documentation

int Ux::Error::e_code [protected]
 

Definition at line 52 of file uxerr.hpp.

EC_ERRTYPE Ux::Error::e_type [protected]
 

Definition at line 51 of file uxerr.hpp.

char Ux::Error::str[50] [protected]
 

Definition at line 53 of file uxerr.hpp.


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:16 2004 for AUP2 Example Source by doxygen 1.3.1