Reference

corelinux_IteratorException(3)

IteratorException is the base exception type for Iterator.

NAME

corelinux::IteratorException - IteratorException is the base exception type for Iterator.

SYNOPSIS

#include <IteratorException.hpp>

Inherits corelinux::Exception.

Inherited by corelinux::InvalidIteratorException, and corelinux::IteratorBoundsException.

Public Member Functions

IteratorException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
Default Constructor. IteratorException (IteratorExceptionCref)
Copy constructor. virtual ~IteratorException (void)
Virtual Destructor. IteratorExceptionRef operator= (IteratorExceptionCref)
Assignment operator overload. bool operator== (IteratorExceptionCref) const
Equality operator overload.

Protected Member Functions

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

Detailed Description

IteratorException is the base exception type for Iterator.

All Iterator exceptions derive from this.

Constructor & Destructor Documentation

corelinux::IteratorException::IteratorException (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::IteratorException::IteratorException (IteratorExceptionCref)

Copy constructor. Parameters:

IteratorException const reference

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

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

Member Function Documentation

IteratorExceptionRef corelinux::IteratorException::operator= (IteratorExceptionCref)

Assignment operator overload. Parameters:

IteratorException const reference

Returns:

IteratorException reference to self

bool corelinux::IteratorException::operator== (IteratorExceptionCref) const

Equality operator overload. Parameters:

IteratorException const reference

Returns:

true if equal, false otherwise

Author

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

History