GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4EventSourceException Class Reference

Event source exception. More...

#include <TGo4EventSourceException.h>

Inheritance diagram for TGo4EventSourceException:

Public Member Functions

 TGo4EventSourceException ()=delete
 TGo4EventSourceException ()=delete
 TGo4EventSourceException (const TGo4EventSourceException &right)
 TGo4EventSourceException (const TGo4EventSourceException &right)
 TGo4EventSourceException (TGo4EventSource *eventsource)
 TGo4EventSourceException (TGo4EventSource *eventsource)
virtual ~TGo4EventSourceException ()
virtual ~TGo4EventSourceException ()
Int_t GetCreateStatus () const
 Status value of server/file open.
Int_t GetCreateStatus () const
 Status value of server/file open.
const char * GetErrMess () const
 Status/ error message of the last event.
const char * GetErrMess () const
 Status/ error message of the last event.
Int_t GetEventStatus () const
 Status of the last event.
Int_t GetEventStatus () const
 Status of the last event.
const char * GetSourceClass () const
 Name of the throwing event source.
const char * GetSourceClass () const
 Name of the throwing event source.
const char * GetSourceName () const
 Name of the throwing event source.
const char * GetSourceName () const
 Name of the throwing event source.
Int_t Handle () override
 This is a default handler function for the respective exception type.
Int_t Handle () override
 This is a default handler function for the respective exception type.
TGo4EventSourceExceptionoperator= (const TGo4EventSourceException &right)
TGo4EventSourceExceptionoperator= (const TGo4EventSourceException &right)
Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 TGo4RuntimeException ()
 TGo4RuntimeException (const TGo4RuntimeException &right)
 TGo4RuntimeException (const TGo4RuntimeException &right)
virtual ~TGo4RuntimeException ()
virtual ~TGo4RuntimeException ()
Int_t Handle () override
 This is a default handler function for the respective exception type.
Int_t Handle () override
 This is a default handler function for the respective exception type.
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 TGo4Exception ()
 TGo4Exception (const TGo4Exception &right)
 TGo4Exception (const TGo4Exception &right)
virtual ~TGo4Exception ()
virtual ~TGo4Exception ()
TGo4Exceptionoperator= (const TGo4Exception &right)
TGo4Exceptionoperator= (const TGo4Exception &right)
virtual const char * What ()
 Returns string describing the kind of exception.
virtual const char * What ()
 Returns string describing the kind of exception.

Protected Attributes

Int_t fiCreateStatus {0}
 Contains return value of eventsource open (e.g.
Int_t fiEventStatus {0}
 Contains return value of eventsource getevent (e.g.
TString fxErrMess
 Error message at exception throw time.
TGo4EventSourcefxEventSource {nullptr}
 1
TString fxSourceClass
 Class of the throwing event source.
TString fxSourceName
 Name of the throwing event source.
Protected Attributes inherited from TGo4Exception
TString fxDescription

Detailed Description

Event source exception.

Definition at line 25 of file TGo4EventSourceException.h.

Constructor & Destructor Documentation

◆ TGo4EventSourceException() [1/6]

◆ TGo4EventSourceException() [2/6]

◆ ~TGo4EventSourceException() [1/2]

TGo4EventSourceException::~TGo4EventSourceException ( )
virtual

Definition at line 62 of file TGo4EventSourceException.cxx.

References GO4TRACE.

◆ TGo4EventSourceException() [3/6]

◆ TGo4EventSourceException() [4/6]

TGo4EventSourceException::TGo4EventSourceException ( )
delete

◆ TGo4EventSourceException() [5/6]

TGo4EventSourceException::TGo4EventSourceException ( TGo4EventSource * eventsource)

◆ ~TGo4EventSourceException() [2/2]

virtual TGo4EventSourceException::~TGo4EventSourceException ( )
virtual

◆ TGo4EventSourceException() [6/6]

TGo4EventSourceException::TGo4EventSourceException ( const TGo4EventSourceException & right)

Member Function Documentation

◆ GetCreateStatus() [1/2]

Int_t TGo4EventSourceException::GetCreateStatus ( ) const
inline

Status value of server/file open.

Definition at line 42 of file TGo4EventSourceException.h.

References fiCreateStatus.

Referenced by Handle().

◆ GetCreateStatus() [2/2]

Int_t TGo4EventSourceException::GetCreateStatus ( ) const
inline

Status value of server/file open.

Definition at line 42 of file TGo4EventSourceException.h.

References fiCreateStatus.

◆ GetErrMess() [1/2]

const char * TGo4EventSourceException::GetErrMess ( ) const
inline

Status/ error message of the last event.

Definition at line 48 of file TGo4EventSourceException.h.

References fxErrMess.

Referenced by Handle(), TGo4Analysis::InitEventClasses(), TGo4Analysis::Process(), and TGo4AnalysisMainRunnable::Run().

◆ GetErrMess() [2/2]

const char * TGo4EventSourceException::GetErrMess ( ) const
inline

Status/ error message of the last event.

Definition at line 48 of file TGo4EventSourceException.h.

References fxErrMess.

◆ GetEventStatus() [1/2]

Int_t TGo4EventSourceException::GetEventStatus ( ) const
inline

Status of the last event.

Definition at line 45 of file TGo4EventSourceException.h.

References fiEventStatus.

Referenced by Handle().

◆ GetEventStatus() [2/2]

Int_t TGo4EventSourceException::GetEventStatus ( ) const
inline

Status of the last event.

Definition at line 45 of file TGo4EventSourceException.h.

References fiEventStatus.

◆ GetSourceClass() [1/2]

const char * TGo4EventSourceException::GetSourceClass ( ) const
inline

Name of the throwing event source.

Definition at line 54 of file TGo4EventSourceException.h.

References fxSourceClass.

Referenced by Handle(), TGo4Analysis::Process(), and TGo4AnalysisMainRunnable::Run().

◆ GetSourceClass() [2/2]

const char * TGo4EventSourceException::GetSourceClass ( ) const
inline

Name of the throwing event source.

Definition at line 54 of file TGo4EventSourceException.h.

References fxSourceClass.

◆ GetSourceName() [1/2]

const char * TGo4EventSourceException::GetSourceName ( ) const
inline

Name of the throwing event source.

Definition at line 51 of file TGo4EventSourceException.h.

References fxSourceName.

Referenced by Handle(), TGo4Analysis::Process(), and TGo4AnalysisMainRunnable::Run().

◆ GetSourceName() [2/2]

const char * TGo4EventSourceException::GetSourceName ( ) const
inline

Name of the throwing event source.

Definition at line 51 of file TGo4EventSourceException.h.

References fxSourceName.

◆ Handle() [1/2]

Int_t TGo4EventSourceException::Handle ( )
overridevirtual

This is a default handler function for the respective exception type.

Reimplemented from TGo4Exception.

Definition at line 67 of file TGo4EventSourceException.cxx.

References TGo4Log::Debug(), GetCreateStatus(), GetErrMess(), GetEventStatus(), GetSourceClass(), GetSourceName(), GO4TRACE, and TGo4Exception::What().

Referenced by TGo4MbsFile::NextEvent(), TGo4MbsFile::NextFile(), TGo4Analysis::Process(), and TGo4AnalysisMainRunnable::Run().

◆ Handle() [2/2]

Int_t TGo4EventSourceException::Handle ( )
overridevirtual

This is a default handler function for the respective exception type.

Reimplemented from TGo4Exception.

◆ operator=() [1/2]

◆ operator=() [2/2]

TGo4EventSourceException & TGo4EventSourceException::operator= ( const TGo4EventSourceException & right)

Field Documentation

◆ fiCreateStatus

Int_t TGo4EventSourceException::fiCreateStatus {0}
protected

Contains return value of eventsource open (e.g.

f_evt_get_open) call. May be checked by the creating factory after return from source ctor.

Definition at line 61 of file TGo4EventSourceException.h.

Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetCreateStatus(), and operator=().

◆ fiEventStatus

Int_t TGo4EventSourceException::fiEventStatus {0}
protected

Contains return value of eventsource getevent (e.g.

f_evt_get_event) call. May be checked by the controlling event loop.

Definition at line 64 of file TGo4EventSourceException.h.

Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetEventStatus(), and operator=().

◆ fxErrMess

TString TGo4EventSourceException::fxErrMess
protected

Error message at exception throw time.

Definition at line 67 of file TGo4EventSourceException.h.

Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetErrMess(), and operator=().

◆ fxEventSource

TGo4EventSource * TGo4EventSourceException::fxEventSource {nullptr}
protected

◆ fxSourceClass

TString TGo4EventSourceException::fxSourceClass
protected

Class of the throwing event source.

Definition at line 73 of file TGo4EventSourceException.h.

Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetSourceClass(), and operator=().

◆ fxSourceName

TString TGo4EventSourceException::fxSourceName
protected

Name of the throwing event source.

Definition at line 70 of file TGo4EventSourceException.h.

Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetSourceName(), and operator=().


The documentation for this class was generated from the following files: