GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4EventErrorException.cxx
Go to the documentation of this file.
1 // $Id: TGo4EventErrorException.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 
15 
16 #include "TGo4Log.h"
17 
19 : TGo4EventSourceException(eventsource)
20 {
21  GO4TRACE((16,"TGo4EventErrorException::TGo4EventErrorException (TGo4EventSource*)", __LINE__, __FILE__));
22  fxDescription= "!!!-- Go4 Eventsource Error Exception --!!!";
23  fiPriority=prio;
24 }
25 
27 {
28  GO4TRACE((16,"TGo4EventErrorException::~TGo4EventErrorException()", __LINE__, __FILE__));
29 }
30 
33 {
34  GO4TRACE((16,"TGo4EventErrorException::TGo4EventErrorException(right)", __LINE__, __FILE__)); ;
35  fiPriority=right.fiPriority;
36 }
37 
39 {
40  GO4TRACE((16,"TGo4EventErrorException::operator=",__LINE__, __FILE__));
41  if (&right!=this)
42  {
43  TGo4EventSourceException::operator=(right); // copy base class members
44  // put additional member copies here...
45  fiPriority=right.fiPriority;
46  return *this;
47  }
48  else
49  {
50  // copy is already source object
51  return *this;
52  }
53 }
TGo4EventErrorException & operator=(const TGo4EventErrorException &right)
TGo4EventSourceException & operator=(const TGo4EventSourceException &right)
#define GO4TRACE(X)
Definition: TGo4Log.h:26
TString fxDescription
Definition: TGo4Exception.h:38