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

Interface for handling uncaught exception. More...

#include <Thread.h>

Public Member Functions

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

Detailed Description

Interface for handling uncaught exception.

If an exception is not caught in Runnable::run(), Thread 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::Thread::UncaughtExceptionHandler::~UncaughtExceptionHandler ( )
inlinevirtual

Member Function Documentation

◆ handle()

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

Handle uncaught exception thrown in the Thread.

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

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