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

corelinux::ClassException Class Reference

ClassException is the base exception type for Class. More...

#include <ClassException.hpp>

Inheritance diagram for corelinux::ClassException:

corelinux::Exception corelinux::AbstractEntityException corelinux::AccessorNotFound corelinux::DescriptorNotFound corelinux::IncompatibleClassException List of all members.

Public Methods

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

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

 ClassException ( ClassExceptionCref )
 Copy constructor. More...

virtual ~ClassException ( void )
 Virtual Destructor.

ClassExceptionRef operator= ( ClassExceptionCref )
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

ClassException is the base exception type for Class.

All Class exceptions derive from this.


Constructor & Destructor Documentation

corelinux::ClassException::ClassException ( 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::ClassException::ClassException ( 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::ClassException::ClassException ( ClassExceptionCref aRef )
 

Copy constructor.

Parameters:
ClassException   const reference

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

Virtual Destructor.

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

ClassException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

ClassExceptionRef corelinux::ClassException::operator= ( ClassExceptionCref aRef )
 

Assignment operator overload.

Parameters:
ClassException   const reference
Returns:
ClassException reference to self

bool corelinux::ClassException::operator== ( ClassExceptionCref aRef ) const
 

Equality operator overload.

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