---
name: "corelinux_AbstractFactoryException"
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_AbstractFactoryException"
---

# corelinux\_AbstractFactoryException(3)

AbstractFactoryException is the base exception type for AbstractFactory.

## NAME

corelinux::AbstractFactoryException - **AbstractFactoryException** is the base exception type for **AbstractFactory**.

## SYNOPSIS

`#include <AbstractFactoryException.hpp>`

Inherits **corelinux::Exception**.

Inherited by **corelinux::AllocatorAlreadyExistsException**, and **corelinux::AllocatorNotFoundException**.

### Public Member Functions

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

### Protected Member Functions

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

## Detailed Description

**AbstractFactoryException** is the base exception type for **AbstractFactory**.

## Constructor & Destructor Documentation

### corelinux::AbstractFactoryException::AbstractFactoryException (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::AbstractFactoryException::AbstractFactoryException (AbstractFactoryExceptionCref)

Copy constructor. **Parameters:**

*AbstractFactoryException* const reference

### corelinux::AbstractFactoryException::AbstractFactoryException (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::AbstractFactoryException::AbstractFactoryException (void)` [protected]`

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

## Member Function Documentation

### AbstractFactoryExceptionRef corelinux::AbstractFactoryException::operator= (AbstractFactoryExceptionCref)

Assignment operator overload. **Parameters:**

*AbstractFactoryException* const reference

**Returns:**

**AbstractFactoryException** reference to self

### bool corelinux::AbstractFactoryException::operator== (AbstractFactoryExceptionCref) const

Equality operator overload. **Parameters:**

*AbstractFactoryException* const reference

**Returns:**

true if equal, false otherwise

## Author

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