GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Exception base class for all exceptions acting on a thread. More...
#include <TGo4ThreadException.h>
Public Member Functions | |
TGo4ThreadException ()=delete | |
TGo4ThreadException (const TGo4ThreadException &right) | |
TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=nullptr) | |
virtual | ~TGo4ThreadException () |
const char * | GetThreadName () const |
Int_t | Handle () override=0 |
This is a default handler function for the respective exception type. | |
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. | |
Protected Attributes | |
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 |
Exception base class for all exceptions acting on a thread.
Definition at line 31 of file TGo4ThreadException.h.
|
delete |
References TGo4ThreadException().
Referenced by TGo4CancelException::TGo4CancelException(), TGo4CancelException::TGo4CancelException(), TGo4CreateException::TGo4CreateException(), TGo4CreateException::TGo4CreateException(), TGo4RemoveException::TGo4RemoveException(), TGo4RemoveException::TGo4RemoveException(), TGo4ReplaceException::TGo4ReplaceException(), TGo4ReplaceException::TGo4ReplaceException(), TGo4RestartException::TGo4RestartException(), TGo4RestartException::TGo4RestartException(), TGo4StartException::TGo4StartException(), TGo4StartException::TGo4StartException(), TGo4ThreadException(), TGo4ThreadException(), and operator=().
TGo4ThreadException::TGo4ThreadException | ( | const TGo4ThreadException & | right | ) |
Definition at line 20 of file TGo4ThreadException.cxx.
References TGo4ControlException::TGo4ControlException(), TGo4ThreadException(), fxRunnable, fxThreadHandler, fxThreadName, and GO4TRACE.
TGo4ThreadException::TGo4ThreadException | ( | TGo4Runnable * | runnable, |
const char * | threadname = nullptr ) |
Definition at line 29 of file TGo4ThreadException.cxx.
References fxRunnable, fxThreadHandler, fxThreadName, TGo4ThreadManager::GetWorkHandler(), and GO4TRACE.
|
virtual |
Definition at line 46 of file TGo4ThreadException.cxx.
References GO4TRACE.
const char * TGo4ThreadException::GetThreadName | ( | ) | const |
Definition at line 64 of file TGo4ThreadException.cxx.
References fxThreadName, and GO4TRACE.
Referenced by TGo4CancelException::Handle(), TGo4CreateException::Handle(), TGo4RemoveException::Handle(), TGo4ReplaceException::Handle(), TGo4RestartException::Handle(), and TGo4StartException::Handle().
|
overridepure virtual |
This is a default handler function for the respective exception type.
Reimplemented from TGo4ControlException.
Implemented in TGo4CancelException, TGo4CreateException, TGo4RemoveException, TGo4ReplaceException, TGo4RestartException, and TGo4StartException.
TGo4ThreadException & TGo4ThreadException::operator= | ( | const TGo4ThreadException & | right | ) |
Definition at line 52 of file TGo4ThreadException.cxx.
References TGo4ThreadException(), fxRunnable, fxThreadHandler, fxThreadName, GO4TRACE, and TGo4ControlException::operator=().
Referenced by TGo4CancelException::operator=(), TGo4CreateException::operator=(), TGo4RemoveException::operator=(), TGo4ReplaceException::operator=(), TGo4RestartException::operator=(), and TGo4StartException::operator=().
|
protected |
Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument)
Definition at line 54 of file TGo4ThreadException.h.
Referenced by TGo4ThreadException(), TGo4ThreadException(), TGo4CancelException::Handle(), TGo4CreateException::Handle(), TGo4RemoveException::Handle(), TGo4ReplaceException::Handle(), TGo4RestartException::Handle(), TGo4StartException::Handle(), and operator=().
|
protected |
Link to threadhandler associated with the runnable.
Definition at line 57 of file TGo4ThreadException.h.
Referenced by TGo4ThreadException(), TGo4ThreadException(), TGo4CancelException::Handle(), TGo4CreateException::Handle(), TGo4RemoveException::Handle(), TGo4ReplaceException::Handle(), TGo4RestartException::Handle(), TGo4StartException::Handle(), and operator=().
|
protected |
Name of the TGo4Thread that shall be acted on.
Definition at line 50 of file TGo4ThreadException.h.
Referenced by TGo4ThreadException(), TGo4ThreadException(), GetThreadName(), and operator=().