Core Library
|
The type of exception thrown when an attempt is made to dereference a null pointer. More...
#include <NullPtrException.hpp>
Public Member Functions | |
NullPtrException () | |
Default constructor. | |
NullPtrException (const tstring &strDetails) | |
Construction from a string containing the details. | |
virtual | ~NullPtrException () throw () |
Destructor. |
The type of exception thrown when an attempt is made to dereference a null pointer.
It is prefereable for this to be thrown than the pointer be dereferenced and an Access Violation occur as Structured Exception handling may not be enabled on the thread at the time.
Core::NullPtrException::NullPtrException | ( | ) | [inline] |
Default constructor.
Core::NullPtrException::NullPtrException | ( | const tstring & | strDetails | ) | [inline] |
Construction from a string containing the details.
Core::NullPtrException::~NullPtrException | ( | ) | throw () [inline, virtual] |
Destructor.