GSI Object Oriented Online Offline (Go4)
GO4-6.1.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4DynamicList
TGo4DynamicListException.cxx
Go to the documentation of this file.
1
// $Id: TGo4DynamicListException.cxx 2627 2019-10-01 08:02:45Z 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 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
#include "
TGo4DynamicListException.h
"
15
16
#include "
TGo4Log.h
"
17
#include "
TGo4DynamicEntry.h
"
18
19
TGo4DynamicListException
&
TGo4DynamicListException::operator=
(
const
TGo4DynamicListException
& right)
20
{
21
GO4TRACE
((14,
"TGo4DynamicListException:operator="
, __LINE__, __FILE__));
22
if
(&right !=
this
) {
23
TGo4RuntimeException::operator=
(right);
// copy base class members
24
// put additional member copies here...
25
fxEntry
= right.
fxEntry
;
26
fxEntryName
= right.
fxEntryName
;
27
fxEntryClass
= right.
fxEntryClass
;
28
fxStatusMessage
= right.
fxStatusMessage
;
29
return
*
this
;
30
}
else
{
31
// copy is already source object
32
return
*
this
;
33
}
34
}
35
36
TGo4DynamicListException::TGo4DynamicListException
(
const
TGo4DynamicListException
&right) :
TGo4RuntimeException
(right)
37
{
38
GO4TRACE
((14,
"TGo4DynamicListException:TGo4DynamicListException(right)"
, __LINE__, __FILE__));
39
40
fxEntry
= right.
fxEntry
;
41
fxEntryName
= right.
fxEntryName
;
42
fxEntryClass
= right.
fxEntryClass
;
43
fxStatusMessage
= right.
fxStatusMessage
;
44
}
45
46
Int_t
TGo4DynamicListException::Handle
()
47
{
48
GO4TRACE
((12,
"TGo4AnalyisStepException::Handle()"
, __LINE__, __FILE__));
49
50
TGo4Log::Debug
(
"%s \n Entry %s:%s, %s\n \t--Entry was disabled."
,
What
(),
GetEntryClass
(),
GetEntryName
(),
51
GetStatusMessage
());
52
if
(
fxEntry
)
53
fxEntry
->
EnableProcessing
(kFALSE);
54
return
0;
55
}
56
57
TGo4DynamicListException::TGo4DynamicListException
(
TGo4DynamicEntry
*entry,
const
char
*message)
58
{
59
GO4TRACE
((14,
"TGo4DynamicListException:TGo4DynamicListException (TGo4DynamicEntry*,..)"
, __LINE__, __FILE__));
60
fxDescription
=
"!!!-- Go4 Dynamic List Exception --!!!"
;
61
62
fxEntry
= entry;
63
if
(
fxEntry
) {
64
fxEntryName
=
fxEntry
->GetName();
65
fxEntryClass
=
fxEntry
->ClassName();
66
}
67
fxStatusMessage
= message;
68
}
TGo4DynamicListException::TGo4DynamicListException
TGo4DynamicListException(TGo4DynamicEntry *entry, const char *message)
Definition:
TGo4DynamicListException.cxx:57
TGo4DynamicListException::fxStatusMessage
TString fxStatusMessage
Definition:
TGo4DynamicListException.h:49
TGo4DynamicListException::GetStatusMessage
const char * GetStatusMessage() const
Definition:
TGo4DynamicListException.h:37
TGo4Exception::What
virtual const char * What()
Definition:
TGo4Exception.cxx:54
TGo4DynamicEntry.h
TGo4DynamicListException.h
TGo4DynamicListException::fxEntryClass
TString fxEntryClass
Definition:
TGo4DynamicListException.h:53
TGo4DynamicListException::operator=
TGo4DynamicListException & operator=(const TGo4DynamicListException &right)
Definition:
TGo4DynamicListException.cxx:19
TGo4DynamicEntry
Definition:
TGo4DynamicEntry.h:27
TGo4Log.h
TGo4DynamicListException::GetEntryClass
const char * GetEntryClass() const
Definition:
TGo4DynamicListException.h:43
TGo4DynamicListException::GetEntryName
const char * GetEntryName() const
Definition:
TGo4DynamicListException.h:40
TGo4RuntimeException
Definition:
TGo4RuntimeException.h:19
TGo4RuntimeException::operator=
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)
Definition:
TGo4RuntimeException.cxx:43
TGo4DynamicListException::fxEntryName
TString fxEntryName
Definition:
TGo4DynamicListException.h:51
GO4TRACE
#define GO4TRACE(X)
Definition:
TGo4Log.h:26
TGo4DynamicEntry::EnableProcessing
void EnableProcessing(Bool_t on=kTRUE)
Definition:
TGo4DynamicEntry.h:39
TGo4DynamicListException::fxEntry
TGo4DynamicEntry * fxEntry
Definition:
TGo4DynamicListException.h:47
TGo4Exception::fxDescription
TString fxDescription
Definition:
TGo4Exception.h:38
TGo4DynamicListException::Handle
Int_t Handle()
Definition:
TGo4DynamicListException.cxx:46
TGo4DynamicListException
Definition:
TGo4DynamicListException.h:22
TGo4Log::Debug
static void Debug(const char *text,...)
Definition:
TGo4Log.cxx:274
Generated on Thu Jun 17 2021 15:44:25 for GSI Object Oriented Online Offline (Go4) by
1.8.8