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

corelinux::AbstractEntityException Class Reference

AbstractEntityException is the exception when a class is defined as abstract and attempts are made to instantiate it or perform other work which is semantically incorrect. More...

#include <AbstractEntityException.hpp>

Inheritance diagram for corelinux::AbstractEntityException:

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

Public Methods

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

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

 AbstractEntityException ( AbstractEntityExceptionCref )
 Copy constructor. More...

virtual ~AbstractEntityException ( void )
 Virtual Destructor.

AbstractEntityExceptionRef operator= ( AbstractEntityExceptionCref )
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

AbstractEntityException is the exception when a class is defined as abstract and attempts are made to instantiate it or perform other work which is semantically incorrect.


Constructor & Destructor Documentation

corelinux::AbstractEntityException::AbstractEntityException ( 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::AbstractEntityException::AbstractEntityException ( 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::AbstractEntityException::AbstractEntityException ( AbstractEntityExceptionCref aRef )
 

Copy constructor.

Parameters:
AbstractEntityException   const reference

corelinux::AbstractEntityException::~AbstractEntityException ( void ) [virtual]
 

Virtual Destructor.

corelinux::AbstractEntityException::AbstractEntityException ( void ) [protected]
 

AbstractEntityException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

AbstractEntityExceptionRef corelinux::AbstractEntityException::operator= ( AbstractEntityExceptionCref aRef )
 

Assignment operator overload.

Parameters:
AbstractEntityException   const reference
Returns:
AbstractEntityException reference to self

bool corelinux::AbstractEntityException::operator== ( AbstractEntityExceptionCref aRef ) const
 

Equality operator overload.

Parameters:
AbstractEntityException   const reference
Returns:
true if equal, false otherwise


The documentation for this class was generated from the following files:
This is the CoreLinux++ Framework reference manual
Provided by The CoreLinux Consortium