GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4UserException Class Reference

Exception to be thrown by analysis user. More...

#include <TGo4UserException.h>

+ Inheritance diagram for TGo4UserException:

Public Member Functions

 TGo4UserException (const TGo4UserException &right)
 
 TGo4UserException (Int_t prio, const char *text,...)
 
virtual ~TGo4UserException ()
 
const char * GetMessage () const
 Status message of last Process() call.
 
Int_t GetPriority () const
 Message priority.
 
Int_t Handle () override
 This is a default handler function for the respective exception type.
 
TGo4UserExceptionoperator= (const TGo4UserException &right)
 
- Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 
 TGo4RuntimeException (const TGo4RuntimeException &right)
 
virtual ~TGo4RuntimeException ()
 
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
 
- Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 
 TGo4Exception (const TGo4Exception &right)
 
virtual ~TGo4Exception ()
 
TGo4Exceptionoperator= (const TGo4Exception &right)
 
virtual const char * What ()
 Returns string describing the kind of exception.
 

Protected Attributes

Int_t fiPriority {0}
 Priority of message.
 
TString fxMessage
 User defined description of the exception reason.
 
- 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)

◆ 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().

◆ GetPriority()

Int_t TGo4UserException::GetPriority ( ) const
inline

Message priority.

Definition at line 61 of file TGo4UserException.h.

References fiPriority.

Referenced by Handle(), and TGo4Analysis::RunImplicitLoop().

◆ Handle()

Int_t TGo4UserException::Handle ( )
overridevirtual

This is a default handler function for the respective exception type.

Reimplemented from TGo4RuntimeException.

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)

Field 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 TGo4UserException(), TGo4UserException(), GetPriority(), and operator=().

◆ fxMessage

TString TGo4UserException::fxMessage
protected

User defined description of the exception reason.

Definition at line 69 of file TGo4UserException.h.

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


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