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

corelinux::BoundsException Class Reference

BoundsException is a type of StorageException, characterized when access to a storage object is invalid. More...

#include <BoundsException.hpp>

Inheritance diagram for corelinux::BoundsException::

corelinux::StorageException corelinux::Exception List of all members.

Public Methods

 BoundsException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor. More...

 BoundsException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor. More...

 BoundsException (BoundsExceptionCref)
 Copy constructor. More...

virtual ~BoundsException (void)
 Virtual Destructor.

BoundsExceptionRef operator= (BoundsExceptionCref)
 Assignment operator overload. More...

bool operator== (BoundsExceptionCref) const
 Equality operator overload. More...


Protected Methods

 BoundsException (void)
 BoundsException must have at least a location.. More...


Detailed Description

BoundsException is a type of StorageException, characterized when access to a storage object is invalid.


Constructor & Destructor Documentation

corelinux::BoundsException::BoundsException CharCptr    why,
CharCptr    file,
LineNum    line,
Severity    severity = Exception::CONTINUABLE,
bool    outOfMemory = false
 

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::BoundsException::BoundsException 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::BoundsException::BoundsException BoundsExceptionCref    aRef
 

Copy constructor.

Parameters:
BoundsException  const reference

corelinux::BoundsException::BoundsException void    [protected]
 

BoundsException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

BoundsExceptionRef corelinux::BoundsException::operator= BoundsExceptionCref    aRef
 

Assignment operator overload.

Parameters:
BoundsException  const reference
Returns:
BoundsException reference to self

bool corelinux::BoundsException::operator== BoundsExceptionCref    aRef const
 

Equality operator overload.

Parameters:
BoundsException  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