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

corelinux::SemaphoreException Class Reference

SemaphoreException is the base exception type for Semaphore. More...

#include <SemaphoreException.hpp>

Inheritance diagram for corelinux::SemaphoreException::

corelinux::Exception List of all members.

Public Methods

 SemaphoreException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false, Int errNum=0)
 Default Constructor. More...

 SemaphoreException (SemaphoreExceptionCref)
 Copy constructor. More...

virtual ~SemaphoreException (void)
 Virtual Destructor.

SemaphoreExceptionRef operator= (SemaphoreExceptionCref)
 Assignment operator overload. More...

bool operator== (SemaphoreExceptionCref) const
 Equality operator overload. More...

IntCref getErrNum (void) const

Protected Methods

 SemaphoreException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false, Int errNum=0)
 Default Constructor. More...

 SemaphoreException (void)
 SemaphoreException must have at least a location.. More...


Detailed Description

SemaphoreException is the base exception type for Semaphore.

All Semaphore exceptions derive from this.


Constructor & Destructor Documentation

corelinux::SemaphoreException::SemaphoreException CharCptr    why,
CharCptr    file,
LineNum    line,
Severity    severity = Exception::CONTINUABLE,
bool    outOfMemory = false,
Int    errNum = 0
 

Default Constructor.

Parameters:
why  describes why the exception was thrown
file  The source module throwing the exception
line  The line of source throwing the exception
severity  The Exception::Severity of the Exception
outOfMemory  An out of memory indicator

corelinux::SemaphoreException::SemaphoreException SemaphoreExceptionCref    aRef
 

Copy constructor.

Parameters:
SemaphoreException  const reference

corelinux::SemaphoreException::SemaphoreException CharCptr    file,
LineNum    line,
Severity    severity = Exception::CONTINUABLE,
bool    outOfMemory = false,
Int    errNum = 0
[protected]
 

Default Constructor.

Parameters:
file  The source module throwing the exception
line  The line of source throwing the exception
severity  The Exception::Severity of the Exception
outOfMemory  An out of memory indicator

corelinux::SemaphoreException::SemaphoreException void    [protected]
 

SemaphoreException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

SemaphoreExceptionRef corelinux::SemaphoreException::operator= SemaphoreExceptionCref    aRef
 

Assignment operator overload.

Parameters:
SemaphoreException  const reference
Returns:
SemaphoreException reference to self

bool corelinux::SemaphoreException::operator== SemaphoreExceptionCref    aRef const
 

Equality operator overload.

Parameters:
SemaphoreException  const reference
Returns:
true if equal, false otherwise


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium