GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4RuntimeException.cxx
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
15
16#include "TApplication.h"
17
18#include "TGo4Log.h"
19
21{
22 fxDescription= "!!!-- Go4 Runtime Exception --!!!";
23}
24
28
33
35{
36 TGo4Exception::Handle(); // superclass handler: output of exception
37 TGo4Log::Debug("\n !!! Unspecified Runtime Exception, aborting application !!! \n");
38 gApplication->Terminate(0);
39 return 0;
40}
41
43{
44 if (&right != this)
45 TGo4Exception::operator=(right); // copy base class members
46
47 return *this;
48}
TString fxDescription
TGo4Exception & operator=(const TGo4Exception &right)
virtual Int_t Handle()
This is a default handler function for the respective exception type.
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
Definition TGo4Log.cxx:281
Int_t Handle() override
This is a default handler function for the respective exception type.
TGo4RuntimeException & operator=(const TGo4RuntimeException &right)