class ExceptionA

An exception

Public Methods

virtual void Handle ()
Handling an exception

Documentation

Base class for all kinds of errors and warnings within the library. These exceptions will be created and then trown by objects, they should be catched, handled and neatly disposed of.
catch(ExceptionA* Exception)
{
Exception->Handle();
delete Exception;
}

virtual void Handle()
This function should printout a newline and its name appended with a colon, call PrintMessage() and then do what is should do. For example in the case of a fatal error the following will be the case:
void FatalError::Handle()
{
cerr << endl << "FatalError: ";
PrintMessage();
exit(1);
}

Author:
J.I. van Hemert
Version:
0.1


This class has no child classes.
Author:
J.I. van Hemert
Version:
0.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