CppELib 1.7.0
Loading...
Searching...
No Matches
OSWrapper::PeriodicTimer::UncaughtExceptionHandler Class Referenceabstract

Interface for handling uncaught exception. More...

#include <PeriodicTimer.h>

Public Member Functions

virtual ~UncaughtExceptionHandler ()
 
virtual void handle (PeriodicTimer *t, const char *msg)=0
 Handle uncaught exception thrown in the PeriodicTimer.
 

Detailed Description

Interface for handling uncaught exception.

If an exception is not caught in Runnable::run(), PeriodicTimer object catches the exception not to terminate the application and the class that implements this interface handles the exception.

Constructor & Destructor Documentation

◆ ~UncaughtExceptionHandler()

virtual OSWrapper::PeriodicTimer::UncaughtExceptionHandler::~UncaughtExceptionHandler ( )
inlinevirtual

Member Function Documentation

◆ handle()

virtual void OSWrapper::PeriodicTimer::UncaughtExceptionHandler::handle ( PeriodicTimer t,
const char *  msg 
)
pure virtual

Handle uncaught exception thrown in the PeriodicTimer.

Parameters
tPointer of PeriodicTimer object that occurred the exception
msgMessage of the exception

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