Core Library
Public Member Functions
Core::NullPtrException Class Reference

The type of exception thrown when an attempt is made to dereference a null pointer. More...

#include <NullPtrException.hpp>

Inheritance diagram for Core::NullPtrException:
Core::Exception

List of all members.

Public Member Functions

 NullPtrException ()
 Default constructor.
 NullPtrException (const tstring &strDetails)
 Construction from a string containing the details.
virtual ~NullPtrException () throw ()
 Destructor.

Detailed Description

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.


Constructor & Destructor Documentation

Default constructor.

Core::NullPtrException::NullPtrException ( const tstring strDetails) [inline]

Construction from a string containing the details.

Core::NullPtrException::~NullPtrException ( ) throw () [inline, virtual]

Destructor.


The documentation for this class was generated from the following file: