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

corelinux::StorageException Class Reference

StorageException is the base exception type for Storage. More...

#include <StorageException.hpp>

Inheritance diagram for corelinux::StorageException::

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

Public Methods

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

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

 StorageException (StorageExceptionCref)
 Copy constructor. More...

virtual ~StorageException (void)
 Virtual Destructor.

StorageExceptionRef operator= (StorageExceptionCref)
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

StorageException is the base exception type for Storage.

All Storage exceptions derive from this.


Constructor & Destructor Documentation

corelinux::StorageException::StorageException 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::StorageException::StorageException 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::StorageException::StorageException StorageExceptionCref    aRef
 

Copy constructor.

Parameters:
StorageException  const reference

corelinux::StorageException::StorageException void    [protected]
 

StorageException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

StorageExceptionRef corelinux::StorageException::operator= StorageExceptionCref    aRef
 

Assignment operator overload.

Parameters:
StorageException  const reference
Returns:
StorageException reference to self

bool corelinux::StorageException::operator== StorageExceptionCref    aRef const
 

Equality operator overload.

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