GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Event source exception. More...
#include <TGo4EventSourceException.h>
Public Member Functions | |
TGo4EventSourceException ()=delete | |
TGo4EventSourceException (const TGo4EventSourceException &right) | |
TGo4EventSourceException (TGo4EventSource *eventsource) | |
virtual | ~TGo4EventSourceException () |
Int_t | GetCreateStatus () const |
Status value of server/file open. | |
const char * | GetErrMess () const |
Status/ error message 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 * | GetSourceName () const |
Name of the throwing event source. | |
Int_t | Handle () override |
This is a default handler function for the respective exception type. | |
TGo4EventSourceException & | operator= (const TGo4EventSourceException &right) |
![]() | |
TGo4RuntimeException () | |
TGo4RuntimeException (const TGo4RuntimeException &right) | |
virtual | ~TGo4RuntimeException () |
Int_t | Handle () override |
This is a default handler function for the respective exception type. | |
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 | |
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. | |
TGo4EventSource * | fxEventSource {nullptr} |
1 | |
TString | fxSourceClass |
Class of the throwing event source. | |
TString | fxSourceName |
Name of the throwing event source. | |
![]() | |
TString | fxDescription |
Event source exception.
Definition at line 25 of file TGo4EventSourceException.h.
|
delete |
References TGo4EventSourceException().
Referenced by TGo4EventEndException::TGo4EventEndException(), TGo4EventEndException::TGo4EventEndException(), TGo4EventErrorException::TGo4EventErrorException(), TGo4EventErrorException::TGo4EventErrorException(), TGo4EventSourceException(), TGo4EventSourceException(), TGo4EventTimeoutException::TGo4EventTimeoutException(), TGo4EventTimeoutException::TGo4EventTimeoutException(), and operator=().
TGo4EventSourceException::TGo4EventSourceException | ( | TGo4EventSource * | eventsource | ) |
Definition at line 19 of file TGo4EventSourceException.cxx.
References fiCreateStatus, fiEventStatus, TGo4Exception::fxDescription, fxErrMess, fxEventSource, fxSourceClass, fxSourceName, TGo4EventSource::GetCreateStatus(), TGo4EventSource::GetErrMess(), TGo4EventSource::GetEventStatus(), and GO4TRACE.
|
virtual |
Definition at line 62 of file TGo4EventSourceException.cxx.
References GO4TRACE.
TGo4EventSourceException::TGo4EventSourceException | ( | const TGo4EventSourceException & | right | ) |
Definition at line 35 of file TGo4EventSourceException.cxx.
References TGo4EventSourceException(), TGo4RuntimeException::TGo4RuntimeException(), fiCreateStatus, fiEventStatus, fxErrMess, fxEventSource, fxSourceClass, fxSourceName, and GO4TRACE.
|
inline |
Status value of server/file open.
Definition at line 42 of file TGo4EventSourceException.h.
References fiCreateStatus.
Referenced by Handle().
|
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().
|
inline |
Status of the last event.
Definition at line 45 of file TGo4EventSourceException.h.
References fiEventStatus.
Referenced by Handle().
|
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().
|
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().
|
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().
TGo4EventSourceException & TGo4EventSourceException::operator= | ( | const TGo4EventSourceException & | right | ) |
Definition at line 47 of file TGo4EventSourceException.cxx.
References TGo4EventSourceException(), fiCreateStatus, fiEventStatus, fxErrMess, fxEventSource, fxSourceClass, fxSourceName, GO4TRACE, and TGo4RuntimeException::operator=().
Referenced by TGo4EventEndException::operator=(), TGo4EventErrorException::operator=(), and TGo4EventTimeoutException::operator=().
|
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=().
|
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=().
|
protected |
Error message at exception throw time.
Definition at line 67 of file TGo4EventSourceException.h.
Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetErrMess(), and operator=().
|
protected |
1
Definition at line 58 of file TGo4EventSourceException.h.
Referenced by TGo4EventSourceException(), TGo4EventSourceException(), and operator=().
|
protected |
Class of the throwing event source.
Definition at line 73 of file TGo4EventSourceException.h.
Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetSourceClass(), and operator=().
|
protected |
Name of the throwing event source.
Definition at line 70 of file TGo4EventSourceException.h.
Referenced by TGo4EventSourceException(), TGo4EventSourceException(), GetSourceName(), and operator=().