#include <TGo4RestartException.h>
Public Member Functions | |
TGo4RestartException (const TGo4RestartException &right) | |
TGo4RestartException (TGo4Runnable *runnable, const char *threadname=0) | |
virtual | ~TGo4RestartException () |
TGo4RestartException & | operator= (const TGo4RestartException &right) |
virtual Int_t | Handle () |
Private Member Functions | |
TGo4RestartException () |
Exception which cancels and recreates a thread associated with runnable, or associated with a given name. Similar to TGo4ReplaceException, but uses Recreate method of taskhandler.
Definition at line 28 of file TGo4RestartException.h.
TGo4RestartException::TGo4RestartException | ( | const TGo4RestartException & | right | ) |
Definition at line 23 of file TGo4RestartException.cxx.
References GO4TRACE.
TGo4RestartException::TGo4RestartException | ( | TGo4Runnable * | runnable, | |
const char * | threadname = 0 | |||
) |
Restart thread associated with runnable or with threadname. Old thread will be canceled and created again.
Definition at line 29 of file TGo4RestartException.cxx.
References TGo4Exception::fxDescription, and GO4TRACE.
TGo4RestartException::~TGo4RestartException | ( | ) | [virtual] |
Definition at line 37 of file TGo4RestartException.cxx.
References GO4TRACE.
TGo4RestartException::TGo4RestartException | ( | ) | [private] |
Int_t TGo4RestartException::Handle | ( | ) | [virtual] |
This is a default handler function for the respective exception type.
Implements TGo4ThreadException.
Definition at line 61 of file TGo4RestartException.cxx.
References TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4Runnable::GetThread(), TGo4ThreadException::GetThreadName(), GO4TRACE, TGo4ThreadHandler::ReCreate(), and TGo4Thread::ReCreate().
TGo4RestartException & TGo4RestartException::operator= | ( | const TGo4RestartException & | right | ) |
Definition at line 43 of file TGo4RestartException.cxx.
References GO4TRACE.