00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 00017 #ifndef TGO4EVENTSOURCEEXCEPTION_H 00018 #define TGO4EVENTSOURCEEXCEPTION_H 00019 00020 #include "Go4Exceptions/TGo4RuntimeException.h" 00021 #include "TString.h" 00022 00023 class TGo4EventSource; 00024 00025 class TGo4EventSourceException : public TGo4RuntimeException { 00026 00027 public: 00028 00029 TGo4EventSourceException (TGo4EventSource* eventsource); 00030 00031 virtual ~TGo4EventSourceException(); 00032 00033 virtual Int_t Handle(); 00034 00035 TGo4EventSourceException(const TGo4EventSourceException &right); 00036 00037 TGo4EventSourceException & operator = (const TGo4EventSourceException & right); 00038 00040 Int_t GetCreateStatus() const { return fiCreateStatus; } 00041 00043 Int_t GetEventStatus() const { return fiEventStatus; } 00044 00046 const char* GetErrMess() const { return fxErrMess.Data(); } 00047 00049 const char* GetSourceName() const { return fxSourceName.Data(); } 00050 00052 const char* GetSourceClass() const { return fxSourceClass.Data(); } 00053 00054 protected: 00056 TGo4EventSource * fxEventSource; 00057 00059 Int_t fiCreateStatus; 00060 00062 Int_t fiEventStatus; 00063 00065 TString fxErrMess; 00066 00068 TString fxSourceName; 00069 00071 TString fxSourceClass; 00072 00073 private: 00074 TGo4EventSourceException(); 00075 }; 00076 00077 #endif // #define TGO4TASKHANDLEREXCEPTION_H 00078 00079 00080 00081 00082 //----------------------------END OF GO4 SOURCE FILE ---------------------