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

corelinux::ThreadException Class Reference

ThreadException is the base exception type for Thread. More...

#include <ThreadException.hpp>

Inheritance diagram for corelinux::ThreadException::

corelinux::Exception corelinux::InvalidThreadException List of all members.

Public Methods

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

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

 ThreadException (ThreadExceptionCref)
 Copy constructor. More...

virtual ~ThreadException (void)
 Virtual Destructor.

ThreadExceptionRef operator= (ThreadExceptionCref)
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

ThreadException is the base exception type for Thread.

All Thread exceptions derive from this.


Constructor & Destructor Documentation

corelinux::ThreadException::ThreadException ( CharCptr why,
CharCptr file,
LineNum line,
Severity severity = Exception::CONTINUABLE,
bool outOfMemory = false )
 

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::ThreadException::ThreadException ( CharCptr file,
LineNum line,
Severity severity = Exception::CONTINUABLE,
bool outOfMemory = false )
 

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::ThreadException::ThreadException ( ThreadExceptionCref aRef )
 

Copy constructor.

Parameters:
ThreadException   const reference

corelinux::ThreadException::ThreadException ( void ) [protected]
 

ThreadException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

ThreadExceptionRef corelinux::ThreadException::operator= ( ThreadExceptionCref aRef )
 

Assignment operator overload.

Parameters:
ThreadException   const reference
Returns:
ThreadException reference to self

bool corelinux::ThreadException::operator== ( ThreadExceptionCref aRef ) const
 

Equality operator overload.

Parameters:
ThreadException   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