---
name: "corelinux_InvalidThreadException"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/corelinux_InvalidThreadException"
---

# corelinux\_InvalidThreadException(3)

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

## NAME

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

## SYNOPSIS

`#include <InvalidThreadException.hpp>`

Inherits **corelinux::ThreadException**.

### 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)

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)

Assignment operator overload. **Parameters:**

*InvalidThreadException* const reference

**Returns:**

**InvalidThreadException** reference to self

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

Equality operator overload. **Parameters:**

*InvalidThreadException* const reference

**Returns:**

true if equal, false otherwise

## Author

Generated automatically by Doxygen for CoreLinux++ from the source code.
