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

FileDescriptor::Exception Class Reference

Thrown by methods on FileDescriptor and subclasses. More...

#include <FileDescriptor.h>

Inheritance diagram for FileDescriptor::Exception:

Inheritance graph
[legend]
Collaboration diagram for FileDescriptor::Exception:

Collaboration graph
[legend]
List of all members.

Public Methods

 Exception (string const &msg, int _savedErrno=0)
virtual char const* what () const
int getErrno () const

Private Attributes

string message
int savedErrno

Detailed Description

Thrown by methods on FileDescriptor and subclasses.

Compatible with std::exception.

Definition at line 33 of file FileDescriptor.h.


Constructor & Destructor Documentation

FileDescriptor::Exception::Exception ( string const & msg,
int _savedErrno = 0 ) [inline]
 

Definition at line 39 of file FileDescriptor.h.


Member Function Documentation

int FileDescriptor::Exception::getErrno ( ) const [inline]
 

Extract saved errno.

Definition at line 45 of file FileDescriptor.h.

char const * FileDescriptor::Exception::what ( ) const [inline, virtual]
 

Extract error msg.

Definition at line 44 of file FileDescriptor.h.


Member Data Documentation

string FileDescriptor::Exception::message [private]
 

Description of the error condition.

Definition at line 35 of file FileDescriptor.h.

int FileDescriptor::Exception::savedErrno [private]
 

Errno at the time of the error; zero if none available.

Definition at line 36 of file FileDescriptor.h.


The documentation for this class was generated from the following file:
Generated at Wed Aug 15 01:05:27 2001 for mps-cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001