---
name: "corelinux_AllocatorAlreadyExistsException"
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_AllocatorAlreadyExistsException"
---

# corelinux\_AllocatorAlreadyExistsException(3)

AllocatorAlreadyExistsException is an exception that is usually thrown when a add of an Allocator collides in a AbstractFactory implementation.

## NAME

corelinux::AllocatorAlreadyExistsException - **AllocatorAlreadyExistsException** is an exception that is usually thrown when a add of an **Allocator** collides in a **AbstractFactory** implementation.

## SYNOPSIS

`#include <AllocatorAlreadyExistsException.hpp>`

Inherits **corelinux::AbstractFactoryException**.

### Public Member Functions

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

### Protected Member Functions

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

## Detailed Description

**AllocatorAlreadyExistsException** is an exception that is usually thrown when a add of an **Allocator** collides in a **AbstractFactory** implementation.

## Constructor & Destructor Documentation

### corelinux::AllocatorAlreadyExistsException::AllocatorAlreadyExistsException (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::AllocatorAlreadyExistsException::AllocatorAlreadyExistsException (AllocatorAlreadyExistsExceptionCref)

Copy constructor. **Parameters:**

*AllocatorAlreadyExistsException* const reference

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

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

## Member Function Documentation

### AllocatorAlreadyExistsExceptionRef corelinux::AllocatorAlreadyExistsException::operator= (AllocatorAlreadyExistsExceptionCref)

Assignment operator overload. **Parameters:**

*AllocatorAlreadyExistsException* const reference

**Returns:**

**AllocatorAlreadyExistsException** reference to self

### bool corelinux::AllocatorAlreadyExistsException::operator== (AllocatorAlreadyExistsExceptionCref) const

Equality operator overload. **Parameters:**

*AllocatorAlreadyExistsException* const reference

**Returns:**

true if equal, false otherwise

## Author

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