GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
Go4Exceptions
TGo4ControlException.cxx
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
#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
TGo4RuntimeException::operator=
(right);
// copy base class members
44
return
*
this
;
45
}
46
47
Int_t
TGo4ControlException::Handle
()
48
{
49
GO4TRACE
((14,
"TGo4ControlException::Handle()"
,__LINE__, __FILE__));
50
51
TGo4Exception::Handle
();
// superclass handler: output of exception
52
TGo4Log::Debug
(
"\n !!! Unspecified Control Exception, aborting application !!! \n"
);
53
gApplication->Terminate(0);
54
return
0;
55
}
56
TGo4ControlException::~TGo4ControlException
virtual ~TGo4ControlException()
Definition:
TGo4ControlException.cxx:33
TGo4ControlException.h
TGo4ControlException
Definition:
TGo4ControlException.h:23
TGo4ControlException::Handle
Int_t Handle() override
Definition:
TGo4ControlException.cxx:47
TGo4Log.h
TGo4Log::Debug
static void Debug(const char *text,...) GO4_PRINTF_ARGS
Definition:
TGo4Log.cxx:281
TGo4RuntimeException
Definition:
TGo4RuntimeException.h:19
TGo4RuntimeException::operator=
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)
Definition:
TGo4RuntimeException.cxx:42
TGo4Exception::Handle
virtual Int_t Handle()
Definition:
TGo4Exception.cxx:48
GO4TRACE
#define GO4TRACE(X)
Definition:
TGo4Log.h:25
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
Generated on Wed Jan 10 2024 15:04:17 for GSI Object Oriented Online Offline (Go4) by
1.8.13