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

corelinux::IncompatibleClassException Class Reference

IncompatibleClassException describes an exception that occurs when the object types are incompatible for whatever use. More...

#include <IncompatibleClassException.hpp>

Inheritance diagram for corelinux::IncompatibleClassException:

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

Public Methods

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

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

 IncompatibleClassException ( IncompatibleClassExceptionCref )
 Copy constructor. More...

virtual ~IncompatibleClassException ( void )
 Virtual Destructor.

IncompatibleClassExceptionRef operator= ( IncompatibleClassExceptionCref )
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

IncompatibleClassException describes an exception that occurs when the object types are incompatible for whatever use.


Constructor & Destructor Documentation

corelinux::IncompatibleClassException::IncompatibleClassException ( 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::IncompatibleClassException::IncompatibleClassException ( 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::IncompatibleClassException::IncompatibleClassException ( IncompatibleClassExceptionCref aRef )
 

Copy constructor.

Parameters:
IncompatibleClassException   const reference

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

Virtual Destructor.

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

IncompatibleClassException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

IncompatibleClassExceptionRef corelinux::IncompatibleClassException::operator= ( IncompatibleClassExceptionCref aRef )
 

Assignment operator overload.

Parameters:
IncompatibleClassException   const reference
Returns:
IncompatibleClassException reference to self

bool corelinux::IncompatibleClassException::operator== ( IncompatibleClassExceptionCref aRef ) const
 

Equality operator overload.

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