Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

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

 SemaphoreException (SemaphoreExceptionCref)
 Copy constructor.

virtual ~SemaphoreException (void)
 Virtual Destructor.

SemaphoreExceptionRef operator= (SemaphoreExceptionCref)
 Assignment operator overload.

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

IntCref getErrNum (void) const

Protected Member Functions

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

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


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   ) 
 

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   ) 
 

Assignment operator overload.

Parameters:
SemaphoreException const reference
Returns:
SemaphoreException reference to self

bool corelinux::SemaphoreException::operator== SemaphoreExceptionCref   )  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