GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4EventSourceException.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 TGO4EVENTSOURCEEXCEPTION_H
15 #define TGO4EVENTSOURCEEXCEPTION_H
16 
17 #include "TGo4RuntimeException.h"
18 #include "TString.h"
19 
20 class TGo4EventSource;
21 
23 
24  public:
25 
26  TGo4EventSourceException() = delete;
27 
29 
30  virtual ~TGo4EventSourceException();
31 
32  Int_t Handle() override;
33 
35 
37 
39  Int_t GetCreateStatus() const { return fiCreateStatus; }
40 
42  Int_t GetEventStatus() const { return fiEventStatus; }
43 
45  const char *GetErrMess() const { return fxErrMess.Data(); }
46 
48  const char *GetSourceName() const { return fxSourceName.Data(); }
49 
51  const char *GetSourceClass() const { return fxSourceClass.Data(); }
52 
53  protected:
56 
58  Int_t fiCreateStatus{0};
59 
61  Int_t fiEventStatus{0};
62 
64  TString fxErrMess;
65 
67  TString fxSourceName;
68 
70  TString fxSourceClass;
71 
72 };
73 
74 #endif
75 
TGo4EventSourceException & operator=(const TGo4EventSourceException &right)
const char * GetSourceName() const
const char * GetSourceClass() const