Reference

corelinux_StorageException(3)

StorageException is the base exception type for Storage.

NAME

corelinux::StorageException - StorageException is the base exception type for Storage.

SYNOPSIS

#include <StorageException.hpp>

Inherits corelinux::Exception.

Inherited by corelinux::BoundsException.

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

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History