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 Member Functions

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

Protected Member Functions

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

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   ) 

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   ) 

Assignment operator overload.

Parameters:
BoundsException const reference
Returns:
BoundsException reference to self

bool corelinux::BoundsException::operator== ( BoundsExceptionCref   )  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