OOFILE  1.9
Public Member Functions | Protected Attributes | Related Functions | List of all members

Base class for exceptions returning MacOS error numbers. More...

#include <oofexcep.h>

Inheritance diagram for oofE_MacOSErr:
Inheritance graph
[legend]
Collaboration diagram for oofE_MacOSErr:
Collaboration graph
[legend]

Public Member Functions

const OSErr & errorNumber () const
 
virtual void extract (std::ostream &os) const
 
 oofE_MacOSErr (const OSErr e, const char *extraMsg=0)
 

Protected Attributes

OSErr mErrNum
 
oofString mErrorString
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &, const oofE_Base &)
 

Detailed Description

Base class for exceptions returning MacOS error numbers.

Definition at line 497 of file oofexcep.h.

Constructor & Destructor Documentation

oofE_MacOSErr::oofE_MacOSErr ( const OSErr  e,
const char *  extraMsg = 0 
)
inline

Definition at line 499 of file oofexcep.h.

Member Function Documentation

const OSErr & oofE_MacOSErr::errorNumber ( ) const
inline

Definition at line 713 of file oofexcep.h.

References mErrNum.

void oofE_MacOSErr::extract ( std::ostream &  os) const
virtual

Implements oofE_Base.

Reimplemented in oofE_File.

Definition at line 792 of file oofexcep.cpp.

References oofString::length(), mErrNum, and mErrorString.

Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  ,
const oofE_Base  
)
related

Member Data Documentation

OSErr oofE_MacOSErr::mErrNum
protected

Definition at line 508 of file oofexcep.h.

Referenced by errorNumber(), and extract().

oofString oofE_MacOSErr::mErrorString
protected

Definition at line 509 of file oofexcep.h.

Referenced by extract().


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