- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# ExceptionNullPtr Class Reference

Null pointer exception. More...

`#include <exceptionnullptr.h>`

Inheritance diagram for ExceptionNullPtr:

List of all members.

## Public Member Functions

const char * | getType () const
| Return type of class.
| ExceptionNullPtr (const char *type=0)
| ctor
const string & | getMessage () const
| Return exception description.

## Detailed Description

Null pointer exception.

Occurs mostly if you try to deferernce empty Ptr<T> object, such as object->foo()

Date:
  01-21-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

ExceptionNullPtr::ExceptionNullPtr | ( | const char * | type = `0` | ) | `[inline]`

| ctor

Parameters:

  | type | class name on which null pointer exception occured (default null pointer)

## Member Function Documentation

const string & ExceptionNullPtr::getMessage | ( |  | ) | const`[virtual]`

| Return exception description.

Returns:
  exception description

Implements ExceptionBase.

const char * ExceptionNullPtr::getType | ( |  | ) | const`[virtual]`

| Return type of class.

Returns:
  type of class

Reimplemented from ExceptionBase.

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

- H:/projs/dotNET/eda/src/exceptions/exceptionnullptr.h
- H:/projs/dotNET/eda/src/exceptions/exceptionnullptr.cpp