activemq-cpp-3.6.0
decaf::lang::Thread::UncaughtExceptionHandler Class Reference

Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception. More...

#include <src/main/decaf/lang/Thread.h>

Public Member Functions

virtual ~UncaughtExceptionHandler ()
virtual void uncaughtException (const Thread *thread, const Throwable &error)=0
 Method invoked when the given thread terminates due to the given uncaught exception.

Detailed Description

Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.

Constructor & Destructor Documentation

virtual decaf::lang::Thread::UncaughtExceptionHandler::~UncaughtExceptionHandler ( )
inlinevirtual

Member Function Documentation

virtual void decaf::lang::Thread::UncaughtExceptionHandler::uncaughtException ( const Thread thread,
const Throwable error 
)
pure virtual

Method invoked when the given thread terminates due to the given uncaught exception.

This method is defined to indicate that it will not throw an exception, throwing and exception from this method will on most systems result in a segmentation fault.


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