00001 // $Id: TGo4ReplaceException.h 1196 2014-04-10 14:06:24Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGo4ReplaceException_h 00015 #define TGo4ReplaceException_h 00016 00017 #include "TGo4ThreadException.h" 00018 00019 class TGo4Runnable; 00020 00038 class TGo4ReplaceException : public TGo4ThreadException { 00039 public: 00040 TGo4ReplaceException(const TGo4ReplaceException &right); 00041 00042 TGo4ReplaceException (TGo4Runnable* runnable, TGo4Runnable* newrunnable = 0, const char* oldthreadname = 0); 00043 00044 virtual ~TGo4ReplaceException(); 00045 00046 TGo4ReplaceException & operator=(const TGo4ReplaceException &right); 00047 00048 virtual Int_t Handle (); 00049 00050 protected: 00051 TGo4Runnable *fxNewRunnable; 00052 00053 private: 00054 TGo4ReplaceException(); 00055 00056 }; 00057 00058 #endif