Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ControlException.cxx

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 "TGo4ControlException.h"
00017 
00018 #include "TApplication.h"
00019 
00020 #include "TGo4Log.h"
00021 
00022 TGo4ControlException::TGo4ControlException()
00023 {
00024    TRACE((14,"TGo4ControlException::TGo4ControlException() constructor",__LINE__, __FILE__));
00025    fxDescription= "!!!-- Go4 Control Exception --!!!";
00026 }
00027 
00028 TGo4ControlException::TGo4ControlException(const TGo4ControlException &right)
00029    :TGo4RuntimeException(right)
00030 {
00031    TRACE((14,"TGo4ControlException::TGo4ControlException() copy constructor",__LINE__, __FILE__));
00032 }
00033 
00034 
00035 TGo4ControlException::~TGo4ControlException()
00036 {
00037   TRACE((14,"TGo4ControlException::~TGo4ControlException() destructor",__LINE__, __FILE__));
00038 }
00039 
00040 
00041 TGo4ControlException & TGo4ControlException::operator=(const TGo4ControlException &right)
00042 {
00043   TRACE((14,"TGo4ControlException::operator=",__LINE__, __FILE__));
00044   if (&right!=this)
00045     {
00046       TRACE((13,"TGo4ControlException::operator= processing copy",__LINE__, __FILE__));
00047       TGo4RuntimeException::operator=(right); // copy base class members
00048       // put additional member copies here...
00049       return *this;
00050     }
00051   else
00052     {
00053       // copy is already source object
00054       TRACE((13,"TGo4ControlException::operator= source and destination objects are identical",__LINE__, __FILE__));
00055       return *this;
00056     }
00057 }
00058 
00059 Int_t TGo4ControlException::Handle()
00060 {
00061    TRACE((14,"TGo4ControlException::Handle()",__LINE__, __FILE__));
00062 
00063    TGo4Exception::Handle(); // superclass handler: output of exception
00064    TGo4Log::Debug("\n !!! Unspecified Control Exception, aborting application !!! \n");
00065    gApplication->Terminate(0);
00066    return 0;
00067 }
00068 
00069 
00070 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:11 2008 for Go4-v3.04-1 by  doxygen 1.4.2