Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::CrashHandler Class Reference
[Core library]

Crash handling class. More...

#include <pcrashhandler.h>

List of all members.

Static Public Member Functions

void terminate () throw ()
 Terminate handler.

void unexpected () throw ()
 Unexpected exception handler.

RETSIGTYPE SEGV_handler (int) throw ()
 SEGV handler.

void enableDebugDump () throw ()
 Enables dump of crash informations.

void disableDebugDump () throw ()
 Disables dump of crash informations.

bool isDebugDumpEnabled () throw ()
 Test if dump of crash infos is enabled.


Detailed Description

Crash handling class.

This class provides custom crash-handlers which will be installed by the library, when a program is linked against the P::Classes library.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 36 of file pcrashhandler.h.


Member Function Documentation

void P::CrashHandler::disableDebugDump  )  throw () [static]
 

Disables dump of crash informations.

Disables dumping of crash informations into a file.

void P::CrashHandler::enableDebugDump  )  throw () [static]
 

Enables dump of crash informations.

Enables dumping of crash informations into a file. Default values if compiled for debugging is true, otherwise false.

bool P::CrashHandler::isDebugDumpEnabled  )  throw () [static]
 

Test if dump of crash infos is enabled.

RETSIGTYPE P::CrashHandler::SEGV_handler int   )  throw () [static]
 

SEGV handler.

The SEGV handler will be called when the program receives a Segmentation fault. Depending on settings a backtrace will be dumped on exit. The crash dump is placed into the temp- directory.

void P::CrashHandler::terminate  )  throw () [static]
 

Terminate handler.

The terminate handler will be called when an uncatched exception has been thrown. Depending on settings a backtrace will be dumped on exit.

void P::CrashHandler::unexpected  )  throw () [static]
 

Unexpected exception handler.

The unexpected handler will be called when an unexpected exception has been thrown. Depending on settings a backtrace will be dumped on exit.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:32 2004 for P::Classes by doxygen 1.3.3