class BaseExc : public exception

This class is the base used for handling exceptions

Inheritance:


Public Methods

BaseExc(const string message, const string cl="unknown", const string md="unknown")
Constructor
virtual const char* what(void)
Returns the error string

Protected Fields

string _what
Contains a brief description of the exception.

Documentation

This class is the base used for handling exceptions. Any exception has to be derived from this class
string _what
Contains a brief description of the exception.

BaseExc(const string message, const string cl="unknown", const string md="unknown")
Constructor.
Parameters:
message - contains the error message.
cl - contains the name of the class where the exception has been raised.
md - contains the name of the module where the exception has been raised.

virtual const char* what(void)
Returns the error string. This is the standard diagnostic behavior, since it is virtual it can be overidden


Direct child classes:
Exc
Exc
Exc
Author:
Antonino Casile, Luigi Palopoli
Version:
1.1

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de