GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4AnalysisStepException.cxx
Go to the documentation of this file.
1 // $Id: TGo4AnalysisStepException.cxx 999 2013-07-25 11:58:59Z linev $
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 für 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 
15 
16 #include "TGo4Log.h"
17 #include "TGo4AnalysisStep.h"
18 
20 : fxStep(0)
21  {
22  GO4TRACE((14,"TGo4AnalysisStepException:TGo4AnalysisStepException (TGo4TaskHandler*)", __LINE__, __FILE__));
23  fxDescription= "!!!-- Go4 Analysis Step Exception --!!!";
24  if(step)
25  {
26  fxStep=step;
27  fxStepName=fxStep->GetName();
30  }
31 }
32 
34 {
35  GO4TRACE((14,"TGo4AnalysisStepException:~TGo4AnalysisStepException", __LINE__, __FILE__));
36 
37 }
38 
40 {
41  GO4TRACE((14,"TGo4AnalysisStepException:operator=",__LINE__, __FILE__));
42  if (&right!=this)
43  {
44  TGo4RuntimeException::operator=(right); // copy base class members
45  // put additional member copies here...
46  fxStep=right.fxStep;
47  fxStepName=right.fxStepName;
50  return *this;
51  }
52  else
53  {
54  // copy is already source object
55  return *this;
56  }
57 
58 
59 
60 }
62  :TGo4RuntimeException(right)
63 {
64  GO4TRACE((14,"TGo4AnalysisStepException:TGo4AnalysisStepException(right)", __LINE__, __FILE__)); ;
65  fxStep=right.fxStep;
66  fxStepName=right.fxStepName;
69 }
70 
72 {
73  GO4TRACE((12,"TGo4AnalyisStepException::Handle()", __LINE__, __FILE__));
74 
75  TGo4Log::Error("%s \n Step %s, ProcessStatus:%d, %s",
77  return 0;
78 }
Int_t GetProcessStatus() const
virtual const char * What()
const char * GetStatusMessage() const
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)
#define GO4TRACE(X)
Definition: TGo4Log.h:26
const char * GetStatusMessage() const
TGo4AnalysisStepException & operator=(const TGo4AnalysisStepException &right)
TString fxDescription
Definition: TGo4Exception.h:38
static void Error(const char *text,...)
Definition: TGo4Log.cxx:309