GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4TaskHandlerException.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 
15 
16 #include "TGo4TaskHandler.h"
18 
20 {
21  fxDescription= "!!!-- Go4 TaskHandler Exception --!!!";
22  fxTaskHandler = taskhandler;
23  if(fxTaskHandler)
24  {
25  // o.k. we have a given taskhandler
27  }
28  else
29  {
30  // wrong call with zero pointer: dummy init of manager, will be checked in Handle()
31  fxThreadManager = nullptr;
32  }
33 }
34 
36 {
37  fxDescription= "!!!-- Go4 TaskHandler Exception --!!!";
38  fxCaller = run;
39  if(fxCaller)
40  {
42  }
43  else
44  {
45  fxTaskHandler = nullptr;
46  }
47 
48  if(fxTaskHandler)
49  {
50  // o.k. we have a given taskhandler
52  }
53  else
54  {
55  // wrong call with zero pointer: dummy init of manager, will be checked in Handle()
56  fxThreadManager = nullptr;
57  }
58 }
59 
61 {
62 }
TGo4ThreadManager * fxThreadManager
TGo4ThreadManager * GetThreadManager() const
TGo4TaskHandler * GetTaskHandler()
TGo4TaskHandlerRunnable * fxCaller
TString fxDescription
Definition: TGo4Exception.h:38