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
TGo4ControlException.cxx
Go to the documentation of this file.
1
// $Id: TGo4ControlException.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 "
TGo4ControlException.h
"
15
16
#include "TApplication.h"
17
18
#include "
TGo4Log.h
"
19
20
TGo4ControlException::TGo4ControlException
()
21
{
22
GO4TRACE
((14,
"TGo4ControlException::TGo4ControlException() constructor"
,__LINE__, __FILE__));
23
fxDescription
=
"!!!-- Go4 Control Exception --!!!"
;
24
}
25
26
TGo4ControlException::TGo4ControlException
(
const
TGo4ControlException
&right)
27
:
TGo4RuntimeException
(right)
28
{
29
GO4TRACE
((14,
"TGo4ControlException::TGo4ControlException() copy constructor"
,__LINE__, __FILE__));
30
}
31
32
33
TGo4ControlException::~TGo4ControlException
()
34
{
35
GO4TRACE
((14,
"TGo4ControlException::~TGo4ControlException() destructor"
,__LINE__, __FILE__));
36
}
37
38
39
TGo4ControlException
&
TGo4ControlException::operator=
(
const
TGo4ControlException
&right)
40
{
41
GO4TRACE
((14,
"TGo4ControlException::operator="
,__LINE__, __FILE__));
42
if
(&right!=
this
)
43
{
44
GO4TRACE
((13,
"TGo4ControlException::operator= processing copy"
,__LINE__, __FILE__));
45
TGo4RuntimeException::operator=
(right);
// copy base class members
46
// put additional member copies here...
47
return
*
this
;
48
}
49
else
50
{
51
// copy is already source object
52
GO4TRACE
((13,
"TGo4ControlException::operator= source and destination objects are identical"
,__LINE__, __FILE__));
53
return
*
this
;
54
}
55
}
56
57
Int_t
TGo4ControlException::Handle
()
58
{
59
GO4TRACE
((14,
"TGo4ControlException::Handle()"
,__LINE__, __FILE__));
60
61
TGo4Exception::Handle
();
// superclass handler: output of exception
62
TGo4Log::Debug
(
"\n !!! Unspecified Control Exception, aborting application !!! \n"
);
63
gApplication->Terminate(0);
64
return
0;
65
}
66
TGo4ControlException::~TGo4ControlException
virtual ~TGo4ControlException()
Definition:
TGo4ControlException.cxx:33
TGo4ControlException.h
TGo4ControlException
Definition:
TGo4ControlException.h:23
TGo4Log.h
TGo4ControlException::Handle
virtual Int_t Handle()
Definition:
TGo4ControlException.cxx:57
TGo4RuntimeException
Definition:
TGo4RuntimeException.h:19
TGo4RuntimeException::operator=
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)
Definition:
TGo4RuntimeException.cxx:43
TGo4Exception::Handle
virtual Int_t Handle()
Definition:
TGo4Exception.cxx:60
GO4TRACE
#define GO4TRACE(X)
Definition:
TGo4Log.h:26
TGo4ControlException::operator=
TGo4ControlException & operator=(const TGo4ControlException &right)
Definition:
TGo4ControlException.cxx:39
TGo4ControlException::TGo4ControlException
TGo4ControlException()
Definition:
TGo4ControlException.cxx:20
TGo4Exception::fxDescription
TString fxDescription
Definition:
TGo4Exception.h:38
TGo4Log::Debug
static void Debug(const char *text,...)
Definition:
TGo4Log.cxx:270
Generated on Fri Oct 26 2018 08:34:51 for GSI Object Oriented Online Offline (Go4) by
1.8.8