00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE 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 #ifndef TGO4EVENTSOURCEEXCEPTION_H 00017 #define TGO4EVENTSOURCEEXCEPTION_H 00018 00019 #include "TGo4RuntimeException.h" 00020 #include "TString.h" 00021 00022 class TGo4EventSource; 00023 00024 class TGo4EventSourceException : public TGo4RuntimeException { 00025 00026 public: 00027 00028 TGo4EventSourceException (TGo4EventSource* eventsource); 00029 00030 virtual ~TGo4EventSourceException(); 00031 00032 virtual Int_t Handle(); 00033 00034 TGo4EventSourceException(const TGo4EventSourceException &right); 00035 00036 TGo4EventSourceException & operator = (const TGo4EventSourceException & right); 00037 00039 Int_t GetCreateStatus() const { return fiCreateStatus; } 00040 00042 Int_t GetEventStatus() const { return fiEventStatus; } 00043 00045 const char* GetErrMess() const { return fxErrMess.Data(); } 00046 00048 const char* GetSourceName() const { return fxSourceName.Data(); } 00049 00051 const char* GetSourceClass() const { return fxSourceClass.Data(); } 00052 00053 protected: 00055 TGo4EventSource * fxEventSource; 00056 00058 Int_t fiCreateStatus; 00059 00061 Int_t fiEventStatus; 00062 00064 TString fxErrMess; 00065 00067 TString fxSourceName; 00068 00070 TString fxSourceClass; 00071 00072 private: 00073 TGo4EventSourceException(); 00074 }; 00075 00076 #endif // #define TGO4TASKHANDLEREXCEPTION_H 00077 00078 00079 00080 00081 //----------------------------END OF GO4 SOURCE FILE ---------------------