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 #ifndef TGO4ANALYSISSTEPEXCEPTION_H 00017 #define TGO4ANALYSISSTEPEXCEPTION_H 00018 00019 #include "Go4Exceptions/TGo4RuntimeException.h" 00020 #include "TString.h" 00021 00022 class TGo4AnalysisStep; 00023 00024 class TGo4AnalysisStepException : public TGo4RuntimeException { 00025 00026 public: 00027 00028 TGo4AnalysisStepException (TGo4AnalysisStep* step); 00029 00030 virtual ~TGo4AnalysisStepException(); 00031 00032 Int_t Handle (); 00033 00034 TGo4AnalysisStepException(const TGo4AnalysisStepException &right); 00035 00036 TGo4AnalysisStepException & operator = (const TGo4AnalysisStepException & right); 00037 00039 Int_t GetProcessStatus() const { return fiProcessStatus; } 00040 00042 const char* GetStatusMessage() const { return fxStatusMessage.Data(); } 00043 00045 const char* GetStepName() { return fxStepName.Data(); } 00046 00047 protected: 00049 TGo4AnalysisStep * fxStep; 00050 00051 TString fxStatusMessage; 00052 00053 TString fxStepName; 00054 00056 Int_t fiProcessStatus; 00057 00058 private: 00059 TGo4AnalysisStepException(); 00060 }; 00061 00062 #endif // #define TGO4TASKHANDLEREXCEPTION_H 00063 00064 //----------------------------END OF GO4 SOURCE FILE ---------------------