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