00001 // $Id: TGo4ReplaceException.h 478 2009-10-29 12:26:09Z 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 00039 class TGo4ReplaceException : public TGo4ThreadException { 00040 public: 00041 TGo4ReplaceException(const TGo4ReplaceException &right); 00042 00043 TGo4ReplaceException (TGo4Runnable* runnable, TGo4Runnable* newrunnable = 0, const char* oldthreadname = 0); 00044 00045 virtual ~TGo4ReplaceException(); 00046 00047 TGo4ReplaceException & operator=(const TGo4ReplaceException &right); 00048 00049 virtual Int_t Handle (); 00050 00051 protected: 00052 TGo4Runnable *fxNewRunnable; 00053 00054 private: 00055 TGo4ReplaceException(); 00056 00057 }; 00058 00059 #endif