Reference

corelinux_NullPointerException(3)

NullPointerException is the base exception type for NullPointer.

NAME

corelinux::NullPointerException - NullPointerException is the base exception type for NullPointer.

SYNOPSIS

#include <NullPointerException.hpp>

Inherits corelinux::Exception.

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)

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)

Assignment operator overload. Parameters:

NullPointerException const reference

Returns:

NullPointerException reference to self

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

Equality operator overload. Parameters:

NullPointerException const reference

Returns:

true if equal, false otherwise

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History