GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4Exceptions
TGo4LogicException.cxx
Go to the documentation of this file.
1
// $Id: TGo4LogicException.cxx 999 2013-07-25 11:58:59Z 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 für 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 "
TGo4LogicException.h
"
15
16
#include "
TGo4Log.h
"
17
18
TGo4LogicException::TGo4LogicException
()
19
{
20
GO4TRACE
((14,
"TGo4LogicException::TGo4LogicException() constructor"
,__LINE__, __FILE__));
21
fxDescription
=
"!!!-- Go4 Logic Exception --!!!"
;
22
}
23
24
TGo4LogicException::TGo4LogicException
(
const
TGo4LogicException
&right)
25
:
TGo4Exception
(right)
26
{
27
GO4TRACE
((14,
"TGo4LogicException::TGo4LogicException() copy constructor"
,__LINE__, __FILE__));
28
}
29
30
31
TGo4LogicException::~TGo4LogicException
()
32
{
33
GO4TRACE
((14,
"TGo4LogicException::~TGo4LogicException() destructor"
,__LINE__, __FILE__));
34
}
35
36
37
TGo4LogicException
&
TGo4LogicException::operator=
(
const
TGo4LogicException
&right)
38
{
39
GO4TRACE
((14,
"TGo4LogicException::operator="
,__LINE__, __FILE__));
40
if
(&right!=
this
)
41
{
42
GO4TRACE
((13,
"TGo4LogicException::operator= processing copy"
,__LINE__, __FILE__));
43
TGo4Exception::operator=
(right);
// copy base class members
44
// put additional member copies here...
45
return
*
this
;
46
}
47
else
48
{
49
// copy is already source object
50
GO4TRACE
((13,
"TGo4LogicException::operator= source and destination objects are identical"
,__LINE__, __FILE__));
51
return
*
this
;
52
}
53
}
54
55
Int_t
TGo4LogicException::Handle
()
56
{
57
GO4TRACE
((14,
"TGo4LogicException::Handle()"
,__LINE__, __FILE__));
58
TGo4Exception::Handle
();
// basic handle method printsout exception type
59
return
0;
60
}
61
62
63
64
TGo4LogicException::operator=
TGo4LogicException & operator=(const TGo4LogicException &right)
Definition:
TGo4LogicException.cxx:37
TGo4LogicException::Handle
virtual Int_t Handle()
Definition:
TGo4LogicException.cxx:55
TGo4Log.h
TGo4Exception::operator=
TGo4Exception & operator=(const TGo4Exception &right)
Definition:
TGo4Exception.cxx:37
TGo4LogicException::TGo4LogicException
TGo4LogicException()
Definition:
TGo4LogicException.cxx:18
TGo4Exception::Handle
virtual Int_t Handle()
Definition:
TGo4Exception.cxx:60
TGo4LogicException
Definition:
TGo4LogicException.h:19
GO4TRACE
#define GO4TRACE(X)
Definition:
TGo4Log.h:26
TGo4LogicException::~TGo4LogicException
virtual ~TGo4LogicException()
Definition:
TGo4LogicException.cxx:31
TGo4Exception::fxDescription
TString fxDescription
Definition:
TGo4Exception.h:38
TGo4LogicException.h
TGo4Exception
Definition:
TGo4Exception.h:20
Generated on Fri Oct 26 2018 08:34:51 for GSI Object Oriented Online Offline (Go4) by
1.8.8