00001 // $Id: TGo4DynamicListException.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 TGO4DYNAMICLISTEXCEPTION_H 00015 #define TGO4DYNAMICLISTEXCEPTION_H 00016 00017 #include "TGo4RuntimeException.h" 00018 #include "TString.h" 00019 00020 class TGo4DynamicEntry; 00021 00022 class TGo4DynamicListException : public TGo4RuntimeException { 00023 00024 public: 00025 00026 TGo4DynamicListException (TGo4DynamicEntry* entry, const char* message,...); 00027 00028 virtual ~TGo4DynamicListException(); 00029 00030 Int_t Handle (); 00031 00032 TGo4DynamicListException(const TGo4DynamicListException &right); 00033 00034 TGo4DynamicListException & operator = (const TGo4DynamicListException & right); 00035 00037 const char* GetStatusMessage() const { return fxStatusMessage.Data(); } 00038 00040 const char* GetEntryName() const { return fxEntryName.Data(); } 00041 00043 const char* GetEntryClass() const { return fxEntryClass.Data(); } 00044 00045 protected: 00047 TGo4DynamicEntry * fxEntry; 00048 00049 TString fxStatusMessage; 00050 00051 TString fxEntryName; 00052 00053 TString fxEntryClass; 00054 private: 00055 TGo4DynamicListException(); 00056 }; 00057 00058 #endif // #define TGO4TASKHANDLEREXCEPTION_H