Public Member Functions | Protected Attributes | Private Member Functions

TGo4ThreadException Class Reference

#include <TGo4ThreadException.h>

Inheritance diagram for TGo4ThreadException:
TGo4ControlException TGo4RuntimeException TGo4Exception TGo4CancelException TGo4CreateException TGo4RemoveException TGo4ReplaceException TGo4RestartException TGo4StartException

List of all members.

Public Member Functions

 TGo4ThreadException (const TGo4ThreadException &right)
 TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=0)
virtual ~TGo4ThreadException ()
TGo4ThreadExceptionoperator= (const TGo4ThreadException &right)
virtual Int_t Handle ()=0
const char * GetThreadName ()

Protected Attributes

TString fxThreadName
TGo4RunnablefxRunnable
TGo4ThreadHandlerfxThreadHandler

Private Member Functions

 TGo4ThreadException ()

Detailed Description

Exception base class for all exceptions acting on a thread.

Author:
J. Adamczewski(at)gsi.de
Go4 project-DVEE-GSI Darmstadt
Germany
Version:
0.9
Since:
jul 2000-oct 2001

Definition at line 30 of file TGo4ThreadException.h.


Constructor & Destructor Documentation

TGo4ThreadException::TGo4ThreadException ( const TGo4ThreadException right  ) 

Definition at line 21 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, and GO4TRACE.

TGo4ThreadException::TGo4ThreadException ( TGo4Runnable runnable,
const char *  threadname = 0 
)
TGo4ThreadException::~TGo4ThreadException (  )  [virtual]

Definition at line 52 of file TGo4ThreadException.cxx.

References GO4TRACE.

TGo4ThreadException::TGo4ThreadException (  )  [private]

Member Function Documentation

virtual Int_t TGo4ThreadException::Handle (  )  [pure 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 58 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, and GO4TRACE.


Member Data Documentation

Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument)

Definition at line 51 of file TGo4ThreadException.h.

Referenced by TGo4StartException::Handle(), TGo4RestartException::Handle(), TGo4ReplaceException::Handle(), TGo4RemoveException::Handle(), TGo4CreateException::Handle(), TGo4CancelException::Handle(), operator=(), and TGo4ThreadException().

TString TGo4ThreadException::fxThreadName [protected]

Name of the TGo4Thread that shall be acted on

Definition at line 47 of file TGo4ThreadException.h.

Referenced by GetThreadName(), operator=(), and TGo4ThreadException().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines