GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4RestartException.h>
Private Member Functions | |
TGo4RestartException () | |
Additional Inherited Members | |
Protected Attributes inherited from TGo4ThreadException | |
TString | fxThreadName |
TGo4Runnable * | fxRunnable |
TGo4ThreadHandler * | fxThreadHandler |
Protected Attributes inherited from TGo4Exception | |
TString | fxDescription |
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.
|
virtual |
Definition at line 37 of file TGo4RestartException.cxx.
References GO4TRACE.
|
private |
|
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, TGo4Thread::ReCreate(), and TGo4ThreadHandler::ReCreate().
TGo4RestartException & TGo4RestartException::operator= | ( | const TGo4RestartException & | right | ) |
Definition at line 43 of file TGo4RestartException.cxx.
References GO4TRACE, and TGo4ThreadException::operator=().