// $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 "TGo4ControlException.h" #include "TApplication.h" #include "TGo4Log.h" TGo4ControlException::TGo4ControlException() { GO4TRACE((14,"TGo4ControlException::TGo4ControlException()",__LINE__, __FILE__)); fxDescription= "!!!-- Go4 Control Exception --!!!"; } TGo4ControlException::TGo4ControlException(const TGo4ControlException &right) :TGo4RuntimeException(right) { GO4TRACE((14,"TGo4ControlException::TGo4ControlException()",__LINE__, __FILE__)); } TGo4ControlException::~TGo4ControlException() { GO4TRACE((14,"TGo4ControlException::~TGo4ControlException()",__LINE__, __FILE__)); } TGo4ControlException & TGo4ControlException::operator=(const TGo4ControlException &right) { GO4TRACE((14, "TGo4ControlException::operator=", __LINE__, __FILE__)); if (&right != this) TGo4RuntimeException::operator=(right); // copy base class members return *this; } Int_t TGo4ControlException::Handle() { GO4TRACE((14,"TGo4ControlException::Handle()",__LINE__, __FILE__)); TGo4Exception::Handle(); // superclass handler: output of exception TGo4Log::Debug("\n !!! Unspecified Control Exception, aborting application !!! \n"); gApplication->Terminate(0); return 0; }