GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4DynamicListException.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 TGO4DYNAMICLISTEXCEPTION_H
15#define TGO4DYNAMICLISTEXCEPTION_H
16
18#include "TString.h"
19
21
23
24 public:
25
26 TGo4DynamicListException (TGo4DynamicEntry *entry, const char *message);
27
29
30 Int_t Handle() override;
31
33
35
37 const char *GetStatusMessage() const { return fxStatusMessage.Data(); }
38
40 const char *GetEntryName() const { return fxEntryName.Data(); }
41
43 const char *GetEntryClass() const { return fxEntryClass.Data(); }
44
45 protected:
48
50
51 TString fxEntryName;
52
53 TString fxEntryClass;
54
55};
56
57#endif
ABC for all entries that can be kept in a dynamic list.
TGo4DynamicListException & operator=(const TGo4DynamicListException &right)
const char * GetEntryName() const
Name of the throwing dynamic Entry.
TGo4DynamicListException(TGo4DynamicEntry *entry, const char *message)
const char * GetEntryClass() const
Classname of the throwing dynamic entry.
const char * GetStatusMessage() const
Status message of last Process() call.
Int_t Handle() override
This is a default handler function for the respective exception type.