00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #include "TGo4RuntimeException.h" 00017 #include "Go4Log/TGo4Log.h" 00018 #include "TApplication.h" 00019 00020 Int_t TGo4RuntimeException::Handle () 00021 { 00022 00023 TGo4Exception::Handle(); // superclass handler: output of exception 00024 TGo4Log::Debug("\n !!! Unspecified Runtime Exception, aborting application !!! \n"); 00025 gApplication->Terminate(0); 00026 return 0; 00027 } 00028 00029 TGo4RuntimeException & TGo4RuntimeException::operator=(const TGo4RuntimeException &right) 00030 { 00031 if (&right!=this) 00032 { 00033 TGo4Exception::operator=(right); // copy base class members 00034 // put additional member copies here... 00035 return *this; 00036 } 00037 else 00038 { 00039 // copy is already source object 00040 return *this; 00041 } 00042 } 00043 00044 TGo4RuntimeException::~TGo4RuntimeException() 00045 { 00046 } 00047 00048 TGo4RuntimeException::TGo4RuntimeException(const TGo4RuntimeException &right) 00049 :TGo4Exception(right) 00050 { 00051 } 00052 00053 TGo4RuntimeException::TGo4RuntimeException() 00054 { 00055 fxDescription= "!!!-- Go4 Runtime Exception --!!!"; 00056 } 00057 00058 //----------------------------END OF GO4 SOURCE FILE ---------------------