NullPointerException Class Reference
[Exceptions]

Exception that is thrown if a null pointer occurs. More...

#include <null_pointer_exception.h>

Inherits Exception.

Inheritance diagram for NullPointerException:

Inheritance graph
[legend]
Collaboration diagram for NullPointerException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NullPointerException (std::string method="", std::string pointer_name=0)
 NullPointerException (NullPointerException const &src)
virtual ~NullPointerException () throw ()
virtual char const * what () const throw ()

Detailed Description

Exception that is thrown if a null pointer occurs.

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 36 of file null_pointer_exception.h.


Constructor & Destructor Documentation

NullPointerException std::string  method = "",
std::string  pointer_name = 0
 

Constructor

Parameters:
method The name of the method the null pointer occured
pointer_name The name of the pointer that was discovered to be a null pointer

Definition at line 21 of file null_pointer_exception.cpp.

NullPointerException NullPointerException const &  src  ) 
 

Copy Constructor

Definition at line 26 of file null_pointer_exception.cpp.

~NullPointerException  )  throw () [virtual]
 

Destructor

Definition at line 32 of file null_pointer_exception.cpp.


Member Function Documentation

char const * what  )  const throw () [virtual]
 

Return a string describing what happened

Returns:
char const* A short description of the exception

Reimplemented from Exception.

Definition at line 36 of file null_pointer_exception.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:04 2006 for iMEDgine by  doxygen 1.4.6