GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4AnalysisStepException.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4ANALYSISSTEPEXCEPTION_H
15 #define TGO4ANALYSISSTEPEXCEPTION_H
16 
17 #include "TGo4RuntimeException.h"
18 #include "TString.h"
19 
20 class TGo4AnalysisStep;
21 
23 
24  public:
25 
27 
29 
30  Int_t Handle() override;
31 
33 
35 
37  Int_t GetProcessStatus() const { return fiProcessStatus; }
38 
40  const char *GetStatusMessage() const { return fxStatusMessage.Data(); }
41 
43  const char *GetStepName() const { return fxStepName.Data(); }
44 
45  protected:
47  TGo4AnalysisStep * fxStep{nullptr};
48 
49  TString fxStatusMessage;
50 
51  TString fxStepName;
52 
54  Int_t fiProcessStatus{0};
55 };
56 
57 #endif
const char * GetStatusMessage() const
TGo4AnalysisStepException & operator=(const TGo4AnalysisStepException &right)
TGo4AnalysisStepException(TGo4AnalysisStep *step)