GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TGo4UserException Class Reference

#include <TGo4UserException.h>

+ Inheritance diagram for TGo4UserException:

Public Member Functions

 TGo4UserException (Int_t prio, const char *text,...)
 
virtual ~TGo4UserException ()
 
Int_t Handle () override
 
 TGo4UserException (const TGo4UserException &right)
 
TGo4UserExceptionoperator= (const TGo4UserException &right)
 
Int_t GetPriority () const
 
const char * GetMessage () const
 
- Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 
 TGo4RuntimeException (const TGo4RuntimeException &right)
 
virtual ~TGo4RuntimeException ()
 
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
 
Int_t Handle () override
 
- Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 
 TGo4Exception (const TGo4Exception &right)
 
virtual ~TGo4Exception ()
 
TGo4Exceptionoperator= (const TGo4Exception &right)
 
virtual const char * What ()
 

Protected Attributes

TString fxMessage
 
Int_t fiPriority {0}
 
- Protected Attributes inherited from TGo4Exception
TString fxDescription
 

Private Member Functions

 TGo4UserException ()=delete
 

Detailed Description

Exception to be thrown by analysis user.

Author
J. Adamczewski
Since
Sep-2002

Definition at line 42 of file TGo4UserException.h.

Constructor & Destructor Documentation

◆ TGo4UserException() [1/3]

TGo4UserException::TGo4UserException ( Int_t  prio,
const char *  text,
  ... 
)

◆ ~TGo4UserException()

TGo4UserException::~TGo4UserException ( )
virtual

Definition at line 36 of file TGo4UserException.cxx.

References GO4TRACE.

◆ TGo4UserException() [2/3]

TGo4UserException::TGo4UserException ( const TGo4UserException right)

Definition at line 52 of file TGo4UserException.cxx.

References fiPriority, fxMessage, and GO4TRACE.

◆ TGo4UserException() [3/3]

TGo4UserException::TGo4UserException ( )
privatedelete

Member Function Documentation

◆ GetMessage()

const char* TGo4UserException::GetMessage ( ) const
inline

Status message of last Process() call.

Definition at line 64 of file TGo4UserException.h.

References fxMessage.

Referenced by Handle(), TGo4Analysis::Process(), and TGo4AnalysisMainRunnable::Run().

◆ GetPriority()

Int_t TGo4UserException::GetPriority ( ) const
inline

Message priority

Definition at line 61 of file TGo4UserException.h.

References fiPriority.

Referenced by Handle(), TGo4Analysis::Process(), TGo4AnalysisMainRunnable::Run(), and TGo4Analysis::RunImplicitLoop().

◆ Handle()

Int_t TGo4UserException::Handle ( )
overridevirtual

This is a default handler function for the respective exception type

Reimplemented from TGo4Exception.

Definition at line 60 of file TGo4UserException.cxx.

References GetMessage(), GetPriority(), GO4TRACE, and TGo4Log::Message().

Referenced by TGo4Analysis::RunImplicitLoop().

◆ operator=()

TGo4UserException & TGo4UserException::operator= ( const TGo4UserException right)

Member Data Documentation

◆ fiPriority

Int_t TGo4UserException::fiPriority {0}
protected

Priority of message. 1=info, 2= warning, 3=error.

Definition at line 72 of file TGo4UserException.h.

Referenced by GetPriority(), operator=(), and TGo4UserException().

◆ fxMessage

TString TGo4UserException::fxMessage
protected

User defined description of the exception reason

Definition at line 69 of file TGo4UserException.h.

Referenced by GetMessage(), operator=(), and TGo4UserException().


The documentation for this class was generated from the following files: