- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# Exception Class Reference

Common exception. More...

`#include <exception.h>`

Inheritance diagram for Exception:

List of all members.

## Public Member Functions

const char * | getType () const
| Return type of class.
| Exception (const char *className, const char *message,...)
| ctor Common exceptions, message parameter is substituted as in printf function. Example :
const string & | getMessage () const
| Return exception description.

## Detailed Description

Common exception.

Date:
  01-21-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

Exception::Exception | ( | const char * | className,
|  | const char * | message,
|  |  | ...
| ) |

| ctor Common exceptions, message parameter is substituted as in printf function. Example :
     throw new Exception("HelloWorld","Error opening file %s errorcode %d","foo",1)
The message in this example will be "Error opening file foo errorcode 1".

Parameters:

  | className | name of class in which was exception thrown
  | message | message to display, message is substituted as in printf function

## Member Function Documentation

const string& Exception::getMessage | ( |  | ) | const`[inline, virtual]`

| Return exception description.

Returns:
  exception description

Implements ExceptionBase.

const char * Exception::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/exception.h
- H:/projs/dotNET/eda/src/exceptions/exception.cpp