corelinux::InvalidThreadException Class Reference

InvalidThreadException describes an exception that is thrown when a operation is attempted on a non-managed thread context. More...

#include <InvalidThreadException.hpp>

Inheritance diagram for corelinux::InvalidThreadException:

corelinux::ThreadException corelinux::Exception

List of all members.

Public Member Functions

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

Protected Member Functions

 InvalidThreadException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 InvalidThreadException (void)
 InvalidThreadException must have at least a location.


Detailed Description

InvalidThreadException describes an exception that is thrown when a operation is attempted on a non-managed thread context.

Constructor & Destructor Documentation

corelinux::InvalidThreadException::InvalidThreadException ( 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::InvalidThreadException::InvalidThreadException ( InvalidThreadExceptionCref  aRef  ) 

Copy constructor.

Parameters:
InvalidThreadException const reference

corelinux::InvalidThreadException::InvalidThreadException ( CharCptr  why,
CharCptr  file,
LineNum  line,
Severity  severity = Exception::CONTINUABLE,
bool  outOfMemory = false 
) [protected]

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::InvalidThreadException::InvalidThreadException ( void   )  [protected]

InvalidThreadException must have at least a location.

Default constructor is not allowed.


Member Function Documentation

InvalidThreadExceptionRef corelinux::InvalidThreadException::operator= ( InvalidThreadExceptionCref  aRef  ) 

Assignment operator overload.

Parameters:
InvalidThreadException const reference
Returns:
InvalidThreadException reference to self

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

bool corelinux::InvalidThreadException::operator== ( InvalidThreadExceptionCref  aRef  )  const

Equality operator overload.

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