---
name: "corelinux_CommandFrameException"
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_CommandFrameException"
---

# corelinux\_CommandFrameException(3)

CommandFrameException is the base exception type for CommandFrame.

## NAME

corelinux::CommandFrameException - **CommandFrameException** is the base exception type for **CommandFrame**.

## SYNOPSIS

`#include <CommandFrameException.hpp>`

Inherits **corelinux::Exception**.

### Public Member Functions

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

### Protected Member Functions

**CommandFrameException** (void)\
 **CommandFrameException** *must have at least a location..*

## Detailed Description

**CommandFrameException** is the base exception type for **CommandFrame**.

All **CommandFrame** exceptions derive from this.

## Constructor & Destructor Documentation

### corelinux::CommandFrameException::CommandFrameException (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::CommandFrameException::CommandFrameException (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::CommandFrameException::CommandFrameException (CommandFrameExceptionCref)

Copy constructor. **Parameters:**

*CommandFrameException* const reference

### corelinux::CommandFrameException::CommandFrameException (void)` [protected]`

**CommandFrameException** must have at least a location.. Default constructor is not allowed.

## Member Function Documentation

### CommandFrameExceptionRef corelinux::CommandFrameException::operator= (CommandFrameExceptionCref)

Assignment operator overload. **Parameters:**

*CommandFrameException* const reference

**Returns:**

**CommandFrameException** reference to self

### bool corelinux::CommandFrameException::operator== (CommandFrameExceptionCref) const

Equality operator overload. **Parameters:**

*CommandFrameException* const reference

**Returns:**

true if equal, false otherwise

## Author

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