// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #include "TGo4RuntimeException.h" #include "TApplication.h" #include "TGo4Log.h" TGo4RuntimeException::TGo4RuntimeException() { fxDescription= "!!!-- Go4 Runtime Exception --!!!"; } TGo4RuntimeException::~TGo4RuntimeException() { } TGo4RuntimeException::TGo4RuntimeException(const TGo4RuntimeException &right) :TGo4Exception(right) { } Int_t TGo4RuntimeException::Handle() { TGo4Exception::Handle(); // superclass handler: output of exception TGo4Log::Debug("\n !!! Unspecified Runtime Exception, aborting application !!! \n"); gApplication->Terminate(0); return 0; } TGo4RuntimeException & TGo4RuntimeException::operator=(const TGo4RuntimeException &right) { if (&right != this) TGo4Exception::operator=(right); // copy base class members return *this; }