00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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);
00048
00049 return *this;
00050 }
00051 else
00052 {
00053
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();
00064 TGo4Log::Debug("\n !!! Unspecified Control Exception, aborting application !!! \n");
00065 gApplication->Terminate(0);
00066 return 0;
00067 }
00068
00069
00070