GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Restart exception. More...
#include <TGo4RestartException.h>
Public Member Functions | |
TGo4RestartException ()=delete | |
TGo4RestartException (const TGo4RestartException &right) | |
TGo4RestartException (TGo4Runnable *runnable, const char *threadname=nullptr) | |
Restart thread associated with runnable or with threadname. | |
virtual | ~TGo4RestartException () |
Int_t | Handle () override |
This is a default handler function for the respective exception type. | |
TGo4RestartException & | operator= (const TGo4RestartException &right) |
![]() | |
TGo4ThreadException ()=delete | |
TGo4ThreadException (const TGo4ThreadException &right) | |
TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=nullptr) | |
virtual | ~TGo4ThreadException () |
const char * | GetThreadName () const |
TGo4ThreadException & | operator= (const TGo4ThreadException &right) |
![]() | |
TGo4ControlException () | |
TGo4ControlException (const TGo4ControlException &right) | |
virtual | ~TGo4ControlException () |
TGo4ControlException & | operator= (const TGo4ControlException &right) |
![]() | |
TGo4RuntimeException () | |
TGo4RuntimeException (const TGo4RuntimeException &right) | |
virtual | ~TGo4RuntimeException () |
TGo4RuntimeException & | operator= (const TGo4RuntimeException &right) |
![]() | |
TGo4Exception () | |
TGo4Exception (const TGo4Exception &right) | |
virtual | ~TGo4Exception () |
TGo4Exception & | operator= (const TGo4Exception &right) |
virtual const char * | What () |
Returns string describing the kind of exception. | |
Additional Inherited Members | |
![]() | |
TGo4Runnable * | fxRunnable {nullptr} |
Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument) | |
TGo4ThreadHandler * | fxThreadHandler {nullptr} |
Link to threadhandler associated with the runnable. | |
TString | fxThreadName |
Name of the TGo4Thread that shall be acted on. | |
![]() | |
TString | fxDescription |
Restart exception.
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 30 of file TGo4RestartException.h.
|
delete |
References TGo4RestartException().
Referenced by TGo4RestartException(), TGo4RestartException(), and operator=().
TGo4RestartException::TGo4RestartException | ( | const TGo4RestartException & | right | ) |
Definition at line 23 of file TGo4RestartException.cxx.
References TGo4RestartException(), TGo4ThreadException::TGo4ThreadException(), and GO4TRACE.
TGo4RestartException::TGo4RestartException | ( | TGo4Runnable * | runnable, |
const char * | threadname = nullptr ) |
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 TGo4ThreadException::TGo4ThreadException(), TGo4Exception::fxDescription, and GO4TRACE.
|
virtual |
Definition at line 37 of file TGo4RestartException.cxx.
References GO4TRACE.
|
overridevirtual |
This is a default handler function for the respective exception type.
Implements TGo4ThreadException.
Definition at line 50 of file TGo4RestartException.cxx.
References TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4ThreadException::GetThreadName(), and GO4TRACE.
TGo4RestartException & TGo4RestartException::operator= | ( | const TGo4RestartException & | right | ) |
Definition at line 43 of file TGo4RestartException.cxx.
References TGo4RestartException(), and TGo4ThreadException::operator=().