00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "TGo4ControlException.h"
00017 #include "Go4Log/TGo4Log.h"
00018 #include "TApplication.h"
00019
00020 TGo4ControlException::TGo4ControlException()
00021 {
00022 TRACE((14,"TGo4ControlException::TGo4ControlException() constructor",__LINE__, __FILE__));
00023 fxDescription= "!!!-- Go4 Control Exception --!!!";
00024 }
00025
00026 TGo4ControlException::TGo4ControlException(const TGo4ControlException &right)
00027 :TGo4RuntimeException(right)
00028 {
00029 TRACE((14,"TGo4ControlException::TGo4ControlException() copy constructor",__LINE__, __FILE__));
00030 }
00031
00032
00033 TGo4ControlException::~TGo4ControlException()
00034 {
00035 TRACE((14,"TGo4ControlException::~TGo4ControlException() destructor",__LINE__, __FILE__));
00036 }
00037
00038
00039 TGo4ControlException & TGo4ControlException::operator=(const TGo4ControlException &right)
00040 {
00041 TRACE((14,"TGo4ControlException::operator=",__LINE__, __FILE__));
00042 if (&right!=this)
00043 {
00044 TRACE((13,"TGo4ControlException::operator= processing copy",__LINE__, __FILE__));
00045 TGo4RuntimeException::operator=(right);
00046
00047 return *this;
00048 }
00049 else
00050 {
00051
00052 TRACE((13,"TGo4ControlException::operator= source and destination objects are identical",__LINE__, __FILE__));
00053 return *this;
00054 }
00055 }
00056
00057
00058 Int_t TGo4ControlException::Handle ()
00059 {
00060 TRACE((14,"TGo4ControlException::Handle()",__LINE__, __FILE__));
00061
00062 TGo4Exception::Handle();
00063 TGo4Log::Debug("\n !!! Unspecified Control Exception, aborting application !!! \n");
00064 gApplication->Terminate(0);
00065 return 0;
00066 }
00067
00068
00069