GSI Object Oriented Online Offline (Go4) GO4-6.4.5
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 (const TGo4UserException &right)
 TGo4UserException (Int_t prio, const char *text,...)
 TGo4UserException (Int_t prio, const char *text,...)
virtual ~TGo4UserException ()
virtual ~TGo4UserException ()
const char * GetMessage () const
 Status message of last Process() call.
const char * GetMessage () const
 Status message of last Process() call.
Int_t GetPriority () const
 Message priority.
Int_t GetPriority () const
 Message priority.
Int_t Handle () override
 This is a default handler function for the respective exception type.
Int_t Handle () override
 This is a default handler function for the respective exception type.
TGo4UserExceptionoperator= (const TGo4UserException &right)
TGo4UserExceptionoperator= (const TGo4UserException &right)
Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 TGo4RuntimeException ()
 TGo4RuntimeException (const TGo4RuntimeException &right)
 TGo4RuntimeException (const TGo4RuntimeException &right)
virtual ~TGo4RuntimeException ()
virtual ~TGo4RuntimeException ()
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 TGo4Exception ()
 TGo4Exception (const TGo4Exception &right)
 TGo4Exception (const TGo4Exception &right)
virtual ~TGo4Exception ()
virtual ~TGo4Exception ()
TGo4Exceptionoperator= (const TGo4Exception &right)
TGo4Exceptionoperator= (const TGo4Exception &right)
virtual const char * What ()
 Returns string describing the kind of exception.
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
 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/6]

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

◆ ~TGo4UserException() [1/2]

TGo4UserException::~TGo4UserException ( )
virtual

Definition at line 36 of file TGo4UserException.cxx.

References GO4TRACE.

◆ TGo4UserException() [2/6]

TGo4UserException::TGo4UserException ( const TGo4UserException & right)

◆ TGo4UserException() [3/6]

TGo4UserException::TGo4UserException ( )
privatedelete

◆ TGo4UserException() [4/6]

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

◆ ~TGo4UserException() [2/2]

virtual TGo4UserException::~TGo4UserException ( )
virtual

◆ TGo4UserException() [5/6]

TGo4UserException::TGo4UserException ( const TGo4UserException & right)

References TGo4UserException().

◆ TGo4UserException() [6/6]

TGo4UserException::TGo4UserException ( )
privatedelete

Member Function Documentation

◆ GetMessage() [1/2]

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

◆ GetMessage() [2/2]

const char * TGo4UserException::GetMessage ( ) const
inline

Status message of last Process() call.

Definition at line 64 of file TGo4UserException.h.

References fxMessage.

◆ GetPriority() [1/2]

Int_t TGo4UserException::GetPriority ( ) const
inline

Message priority.

Definition at line 61 of file TGo4UserException.h.

References fiPriority.

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

◆ GetPriority() [2/2]

Int_t TGo4UserException::GetPriority ( ) const
inline

Message priority.

Definition at line 61 of file TGo4UserException.h.

References fiPriority.

◆ Handle() [1/2]

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

◆ Handle() [2/2]

Int_t TGo4UserException::Handle ( )
overridevirtual

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

Reimplemented from TGo4RuntimeException.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

References TGo4UserException().

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: