---
name: "corelinux_InvalidIteratorException"
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_InvalidIteratorException"
---

# corelinux\_InvalidIteratorException(3)

InvalidIteratorException is an exception that indicates a Iterator could not be properly formed for some reason.

## NAME

corelinux::InvalidIteratorException - **InvalidIteratorException** is an exception that indicates a **Iterator** could not be properly formed for some reason.

## SYNOPSIS

`#include <InvalidIteratorException.hpp>`

Inherits **corelinux::IteratorException**.

### Public Member Functions

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

### Protected Member Functions

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

## Detailed Description

**InvalidIteratorException** is an exception that indicates a **Iterator** could not be properly formed for some reason.

## Constructor & Destructor Documentation

### corelinux::InvalidIteratorException::InvalidIteratorException (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::InvalidIteratorException::InvalidIteratorException (InvalidIteratorExceptionCref)

Copy constructor. **Parameters:**

*IteratorException* const reference

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

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

## Member Function Documentation

### InvalidIteratorExceptionRef corelinux::InvalidIteratorException::operator= (InvalidIteratorExceptionCref)

Assignment operator overload. **Parameters:**

*InvalidIteratorException* const reference

**Returns:**

**InvalidIteratorException** reference to self

### bool corelinux::InvalidIteratorException::operator== (InvalidIteratorExceptionCref) const

Equality operator overload. **Parameters:**

*InvalidIteratorException* const reference

**Returns:**

true if equal, false otherwise

## Author

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