- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# ExceptionBase Class Reference

Base class for exceptions. More...

`#include <exceptionbase.h>`

Inheritance diagram for ExceptionBase:

List of all members.

## Public Member Functions

const char * | getType () const
| Return type of class.
| ExceptionBase (ExceptionBase *parentException=0)
| ctor
virtual const string & | getMessage () const =0
| Return exception description.
string & | stackTrace () const
| Return exception description and stack of exceptions.

## Detailed Description

Base class for exceptions.

Handles exception stacking.

Date:
  01-21-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

ExceptionBase::ExceptionBase | ( | ExceptionBase * | parentException = `0` | ) | `[inline]`

| ctor

Parameters:

  | parentException | exception that lead to this exception

## Member Function Documentation

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

| Return exception description.

Returns:
  exception description

Implemented in Exception, ExceptionEval, ExceptionIO, ExceptionNoImplementation, ExceptionNullPtr, and ExceptionType.

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

| Return type of class.

Returns:
  type of class

Reimplemented from TObject.

Reimplemented in Exception, ExceptionEval, ExceptionIO, ExceptionNoImplementation, ExceptionNullPtr, and ExceptionType.

string & ExceptionBase::stackTrace | ( |  | ) | const

| Return exception description and stack of exceptions.

Returns:
  stack of exceptions

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

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