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 Member Functions

 ThreadException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 ThreadException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 ThreadException (ThreadExceptionCref)
 Copy constructor.
virtual ~ThreadException (void)
 Virtual Destructor.
ThreadExceptionRef operator= (ThreadExceptionCref)
 Assignment operator overload.
bool operator== (ThreadExceptionCref) const
 Equality operator overload.

Protected Member Functions

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


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

References corelinux::Exception::operator=().

Referenced by corelinux::InvalidThreadException::operator=().

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