GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4DynamicList
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
17
#include "
TGo4RuntimeException.h
"
18
#include "TString.h"
19
20
class
TGo4DynamicEntry
;
21
22
class
TGo4DynamicListException
:
public
TGo4RuntimeException
{
23
24
public
:
25
26
TGo4DynamicListException
(
TGo4DynamicEntry
*entry,
const
char
*message);
27
28
virtual
~TGo4DynamicListException
() {}
29
30
Int_t
Handle
()
override
;
31
32
TGo4DynamicListException
(
const
TGo4DynamicListException
&right);
33
34
TGo4DynamicListException
&
operator=
(
const
TGo4DynamicListException
&right);
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
:
47
TGo4DynamicEntry
*
fxEntry
{
nullptr
};
48
49
TString
fxStatusMessage
;
50
51
TString
fxEntryName
;
52
53
TString
fxEntryClass
;
54
55
};
56
57
#endif
TGo4RuntimeException.h
TGo4DynamicEntry
ABC for all entries that can be kept in a dynamic list.
Definition
TGo4DynamicEntry.h:27
TGo4DynamicListException
Definition
TGo4DynamicListException.h:22
TGo4DynamicListException::operator=
TGo4DynamicListException & operator=(const TGo4DynamicListException &right)
Definition
TGo4DynamicListException.cxx:19
TGo4DynamicListException::GetEntryName
const char * GetEntryName() const
Name of the throwing dynamic Entry.
Definition
TGo4DynamicListException.h:40
TGo4DynamicListException::~TGo4DynamicListException
virtual ~TGo4DynamicListException()
Definition
TGo4DynamicListException.h:28
TGo4DynamicListException::fxEntryName
TString fxEntryName
Definition
TGo4DynamicListException.h:51
TGo4DynamicListException::TGo4DynamicListException
TGo4DynamicListException(TGo4DynamicEntry *entry, const char *message)
Definition
TGo4DynamicListException.cxx:54
TGo4DynamicListException::fxStatusMessage
TString fxStatusMessage
Definition
TGo4DynamicListException.h:49
TGo4DynamicListException::GetEntryClass
const char * GetEntryClass() const
Classname of the throwing dynamic entry.
Definition
TGo4DynamicListException.h:43
TGo4DynamicListException::fxEntryClass
TString fxEntryClass
Definition
TGo4DynamicListException.h:53
TGo4DynamicListException::GetStatusMessage
const char * GetStatusMessage() const
Status message of last Process() call.
Definition
TGo4DynamicListException.h:37
TGo4DynamicListException::Handle
Int_t Handle() override
This is a default handler function for the respective exception type.
Definition
TGo4DynamicListException.cxx:43
TGo4DynamicListException::fxEntry
TGo4DynamicEntry * fxEntry
1
Definition
TGo4DynamicListException.h:47
TGo4RuntimeException::TGo4RuntimeException
TGo4RuntimeException()
Definition
TGo4RuntimeException.cxx:20
Generated by
1.13.2