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

P::SystemError Class Reference
[Core library]

Operating System error. More...

#include <pexception.h>

Inheritance diagram for P::SystemError:

P::RuntimeError P::BaseError P::IOError P::SyncError P::ThreadError List of all members.

Public Types

typedef long oserr_t

Public Member Functions

 SystemError (oserr_t errnum, const char *_what, const SourceInfo &_si) throw ()
BaseErrorclone () const
 Clones the object.

oserr_t errnum () const throw ()
 Native error code.

std::string text () const throw ()
 System error message.


Detailed Description

Operating System error.

This exception class is thrown whenever a operating system error has occured.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 166 of file pexception.h.


Member Typedef Documentation

typedef long P::SystemError::oserr_t
 

Definition at line 168 of file pexception.h.


Constructor & Destructor Documentation

P::SystemError::SystemError oserr_t  errnum,
const char *  _what,
const SourceInfo _si
throw () [inline]
 

Definition at line 170 of file pexception.h.


Member Function Documentation

BaseError* P::SystemError::clone  )  const [inline, virtual]
 

Clones the object.

This method returns an exact copy of the exception object.

Returns:
the copied exception object

Reimplemented from P::RuntimeError.

Reimplemented in P::SyncError, P::IOError, and P::ThreadError.

Definition at line 173 of file pexception.h.

oserr_t P::SystemError::errnum  )  const throw () [inline]
 

Native error code.

Returns the native operating system error code.

Returns:
error code

Definition at line 181 of file pexception.h.

std::string P::SystemError::text  )  const throw ()
 

System error message.

Retrieves the operating system error message that correspends to the error code.

Returns:
system error message


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:37 2004 for P::Classes by doxygen 1.3.3