Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

corelinux::IteratorException Class Reference

IteratorException is the base exception type for Iterator. More...

#include <IteratorException.hpp>

Inheritance diagram for corelinux::IteratorException:

corelinux::Exception corelinux::InvalidIteratorException corelinux::IteratorBoundsException List of all members.

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


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium