Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IOError Class Reference

#include <Error.h>

Inheritance diagram for IOError:

SystemError Error List of all members.

Public Member Functions

 IOError (const char *txt="unknown", int errnbr=-1)
 IOError (const char *txt, int errnbr, const char *file, const char *function, int line)
 IOError (const string &txt, int errnbr=-1)
 IOError (const string &txt, int errnbr, const char *file, const char *function, int line)
virtual void print ()

Detailed Description

Author:
Thomas Gschwind

Bug:
Documentation is missing.

Definition at line 110 of file Error.h.


Constructor & Destructor Documentation

IOError::IOError const char *  txt = "unknown",
int  errnbr = -1
[inline]
 

Definition at line 112 of file Error.h.

00113                    :SystemError(txt, errnbr) {
00114         } IOError(const char *txt, int errnbr, const char *file,

IOError::IOError const char *  txt,
int  errnbr,
const char *  file,
const char *  function,
int  line
[inline]
 

Definition at line 114 of file Error.h.

00115                                                  :SystemError(txt, errnbr,
00116                                                               file,
00117                                                               function,
00118                                                               line) {
00119         }

IOError::IOError const string &  txt,
int  errnbr = -1
[inline]
 

Definition at line 120 of file Error.h.

00121                    :SystemError(txt, errnbr) {
00122         }

IOError::IOError const string &  txt,
int  errnbr,
const char *  file,
const char *  function,
int  line
[inline]
 

Definition at line 123 of file Error.h.

00124                                                :SystemError(txt, errnbr,
00125                                                             file, function,
00126                                                             line) {
00127         }


Member Function Documentation

virtual void IOError::print void   )  [inline, virtual]
 

Reimplemented from SystemError.

Definition at line 129 of file Error.h.

References slog.

00129                              {
00130                 slog << "Exception!"
00131                     << " Type: IO"
00132                     << " File: " << _file
00133                     << " Function: " << _function
00134                     << " Line: " << _line
00135                     << " Desc: " << _errtext
00136                     << " ErrStr(" << _errno << "): " << strerror(_errno) <<
00137                     "\n";
00138         }


The documentation for this class was generated from the following file:
Generated on Sun Oct 24 21:08:22 2004 for NewsCache by doxygen 1.3.6-20040222