GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4EventStoreException.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 TGO4EVENTSTOREEXCEPTION_H
15#define TGO4EVENTSTOREEXCEPTION_H
16
18#include "TString.h"
19
20class TGo4EventStore;
21
25
27
28 public:
29
31
32 TGo4EventStoreException (TGo4EventStore *eventsource, const char *msg = nullptr);
33
35
36 Int_t Handle() override;
37
39
41
43 const char *GetErrMess() const { return fxErrMess.Data(); }
44
46 const char *GetStoreName() const { return fxStoreName.Data(); }
47
49 const char *GetStoreClass() const { return fxStoreClass.Data(); }
50
51 protected:
54
56 TString fxErrMess;
57
59 TString fxStoreName;
60
62 TString fxStoreClass;
63
64};
65
66#endif
TString fxStoreName
Name of the throwing event source.
const char * GetStoreName() const
Name of the throwing event source.
const char * GetStoreClass() const
Name of the throwing event source.
const char * GetErrMess() const
Status/ error message of the last event.
TGo4EventStoreException()=delete
Int_t Handle() override
This is a default handler function for the respective exception type.
TString fxStoreClass
Class of the throwing event source.
TGo4EventStoreException & operator=(const TGo4EventStoreException &right)
TString fxErrMess
Error message at exception throw time.
The abstract interface class for the raw event store.