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

corelinux::NullPointerException Class Reference

NullPointerException is the base exception type for NullPointer. More...

#include <NullPointerException.hpp>

Inheritance diagram for corelinux::NullPointerException

Inheritance graph
[legend]
Collaboration diagram for corelinux::NullPointerException:

Collaboration graph
[legend]
List of all members.

Public Methods

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

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

 NullPointerException ( NullPointerExceptionCref )
 Copy constructor. More...

virtual ~NullPointerException ( void )
 Virtual Destructor.

NullPointerExceptionRef operator= ( NullPointerExceptionCref )
 Assignment operator overload. More...

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


Protected Methods

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


Detailed Description

NullPointerException is the base exception type for NullPointer.

All NullPointer exceptions derive from this.


Constructor & Destructor Documentation

corelinux::NullPointerException::NullPointerException ( 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::NullPointerException::NullPointerException ( 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::NullPointerException::NullPointerException ( NullPointerExceptionCref aRef )
 

Copy constructor.

Parameters:
NullPointerException   const reference

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

NullPointerException must have at least a location..

Default constructor is not allowed.


Member Function Documentation

NullPointerExceptionRef corelinux::NullPointerException::operator= ( NullPointerExceptionCref aRef )
 

Assignment operator overload.

Parameters:
NullPointerException   const reference
Returns:
NullPointerException reference to self

bool corelinux::NullPointerException::operator== ( NullPointerExceptionCref aRef ) const
 

Equality operator overload.

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