00001 // $Id: TGo4AnalysisStepException.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4ANALYSISSTEPEXCEPTION_H 00015 #define TGO4ANALYSISSTEPEXCEPTION_H 00016 00017 #include "TGo4RuntimeException.h" 00018 #include "TString.h" 00019 00020 class TGo4AnalysisStep; 00021 00022 class TGo4AnalysisStepException : public TGo4RuntimeException { 00023 00024 public: 00025 00026 TGo4AnalysisStepException (TGo4AnalysisStep* step); 00027 00028 virtual ~TGo4AnalysisStepException(); 00029 00030 Int_t Handle (); 00031 00032 TGo4AnalysisStepException(const TGo4AnalysisStepException &right); 00033 00034 TGo4AnalysisStepException & operator = (const TGo4AnalysisStepException & right); 00035 00037 Int_t GetProcessStatus() const { return fiProcessStatus; } 00038 00040 const char* GetStatusMessage() const { return fxStatusMessage.Data(); } 00041 00043 const char* GetStepName() { return fxStepName.Data(); } 00044 00045 protected: 00047 TGo4AnalysisStep * fxStep; 00048 00049 TString fxStatusMessage; 00050 00051 TString fxStepName; 00052 00054 Int_t fiProcessStatus; 00055 00056 private: 00057 TGo4AnalysisStepException(); 00058 }; 00059 00060 #endif // #define TGO4TASKHANDLEREXCEPTION_H