LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Static Private Member Functions | List of all members
IMPL::LCIOExceptionHandler Class Reference

Sets the default error handling for unexpected and uncaught exceptions. More...

#include <LCIOExceptionHandler.h>

Static Public Member Functions

static void setupHandlers ()
 Setup the unexpected and terminate std handlers. More...
 

Static Private Member Functions

static void handler ()
 The unexpected and terminate handler function. More...
 

Detailed Description

Sets the default error handling for unexpected and uncaught exceptions.

Definition at line 9 of file LCIOExceptionHandler.h.

Member Function Documentation

void IMPL::LCIOExceptionHandler::handler ( )
staticprivate

The unexpected and terminate handler function.

Definition at line 15 of file LCIOExceptionHandler.cc.

References std::endl(), and std::exception::what().

void IMPL::LCIOExceptionHandler::setupHandlers ( )
static

Setup the unexpected and terminate std handlers.

This function is thread safe and can be called many time without unexpected behaviour, sucha as exceptions, data race, etc ...

Definition at line 9 of file LCIOExceptionHandler.cc.


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