corelinux::NullPointerException Class Reference

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

#include <NullPointerException.hpp>

Inheritance diagram for corelinux::NullPointerException:

corelinux::Exception

List of all members.

Public Member Functions

 NullPointerException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 NullPointerException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 NullPointerException (NullPointerExceptionCref)
 Copy constructor.
virtual ~NullPointerException (void)
 Virtual Destructor.
NullPointerExceptionRef operator= (NullPointerExceptionCref)
 Assignment operator overload.
bool operator== (NullPointerExceptionCref) const
 Equality operator overload.

Protected Member Functions

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


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

References corelinux::Exception::operator=().

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