Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

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

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

 StorageException (StorageExceptionCref)
 Copy constructor.

virtual ~StorageException (void)
 Virtual Destructor.

StorageExceptionRef operator= (StorageExceptionCref)
 Assignment operator overload.

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


Protected Member Functions

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


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   ) 
 

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   ) 
 

Assignment operator overload.

Parameters:
StorageException const reference
Returns:
StorageException reference to self

bool corelinux::StorageException::operator== StorageExceptionCref   )  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