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
TGo4RuntimeException.cxx
Go to the documentation of this file.
1
// $Id: TGo4RuntimeException.cxx 478 2009-10-29 12:26:09Z 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 "
TGo4RuntimeException.h
"
15
16
#include "TApplication.h"
17
18
#include "
TGo4Log.h
"
19
20
TGo4RuntimeException::TGo4RuntimeException
()
21
{
22
fxDescription
=
"!!!-- Go4 Runtime Exception --!!!"
;
23
}
24
25
TGo4RuntimeException::~TGo4RuntimeException
()
26
{
27
}
28
29
TGo4RuntimeException::TGo4RuntimeException
(
const
TGo4RuntimeException
&right)
30
:
TGo4Exception
(right)
31
{
32
}
33
34
Int_t
TGo4RuntimeException::Handle
()
35
{
36
37
TGo4Exception::Handle
();
// superclass handler: output of exception
38
TGo4Log::Debug
(
"\n !!! Unspecified Runtime Exception, aborting application !!! \n"
);
39
gApplication->Terminate(0);
40
return
0;
41
}
42
43
TGo4RuntimeException
&
TGo4RuntimeException::operator=
(
const
TGo4RuntimeException
&right)
44
{
45
if
(&right!=
this
)
46
{
47
TGo4Exception::operator=
(right);
// copy base class members
48
// put additional member copies here...
49
return
*
this
;
50
}
51
else
52
{
53
// copy is already source object
54
return
*
this
;
55
}
56
}
57
TGo4Log.h
TGo4RuntimeException::TGo4RuntimeException
TGo4RuntimeException()
Definition:
TGo4RuntimeException.cxx:20
TGo4Exception::operator=
TGo4Exception & operator=(const TGo4Exception &right)
Definition:
TGo4Exception.cxx:37
TGo4RuntimeException
Definition:
TGo4RuntimeException.h:19
TGo4RuntimeException::operator=
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)
Definition:
TGo4RuntimeException.cxx:43
TGo4RuntimeException.h
TGo4Exception::Handle
virtual Int_t Handle()
Definition:
TGo4Exception.cxx:60
TGo4Exception::fxDescription
TString fxDescription
Definition:
TGo4Exception.h:38
TGo4RuntimeException::~TGo4RuntimeException
virtual ~TGo4RuntimeException()
Definition:
TGo4RuntimeException.cxx:25
TGo4RuntimeException::Handle
virtual Int_t Handle()
Definition:
TGo4RuntimeException.cxx:34
TGo4Exception
Definition:
TGo4Exception.h:20
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