GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4LogicException.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 "TGo4LogicException.h"
15 
16 #include "TGo4Log.h"
17 
19 {
20  GO4TRACE((14,"TGo4LogicException::TGo4LogicException() constructor",__LINE__, __FILE__));
21  fxDescription= "!!!-- Go4 Logic Exception --!!!";
22 }
23 
25  :TGo4Exception(right)
26 {
27  GO4TRACE((14,"TGo4LogicException::TGo4LogicException() copy constructor",__LINE__, __FILE__));
28 }
29 
30 
32 {
33  GO4TRACE((14,"TGo4LogicException::~TGo4LogicException() destructor",__LINE__, __FILE__));
34 }
35 
37 {
38  GO4TRACE((14, "TGo4LogicException::operator=", __LINE__, __FILE__));
39  if (&right != this)
40  TGo4Exception::operator=(right); // copy base class members
41  return *this;
42 }
43 
45 {
46  GO4TRACE((14,"TGo4LogicException::Handle()",__LINE__, __FILE__));
47  TGo4Exception::Handle(); // basic handle method printsout exception type
48  return 0;
49 }
TGo4LogicException & operator=(const TGo4LogicException &right)
Int_t Handle() override
TGo4Exception & operator=(const TGo4Exception &right)
virtual Int_t Handle()
#define GO4TRACE(X)
Definition: TGo4Log.h:25
TString fxDescription
Definition: TGo4Exception.h:38