GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
 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)
 
- 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
 
- Protected Attributes inherited from TGo4Exception
TString fxDescription
 

Private Member Functions

 TGo4UserException ()
 

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::TGo4UserException ( Int_t  prio,
const char *  text,
  ... 
)
TGo4UserException::~TGo4UserException ( )
virtual

Definition at line 43 of file TGo4UserException.cxx.

References GO4TRACE.

TGo4UserException::TGo4UserException ( const TGo4UserException right)

Definition at line 66 of file TGo4UserException.cxx.

References fiPriority, fxMessage, and GO4TRACE.

TGo4UserException::TGo4UserException ( )
private

Definition at line 20 of file TGo4UserException.cxx.

Member Function Documentation

const char* TGo4UserException::GetMessage ( ) const
inline

Status message of last Process() call.

Definition at line 60 of file TGo4UserException.h.

References fxMessage.

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

Int_t TGo4UserException::GetPriority ( ) const
inline

Message priority

Definition at line 57 of file TGo4UserException.h.

References fiPriority.

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

Int_t TGo4UserException::Handle ( )
virtual

This is a default handler function for the respective exception type

Reimplemented from TGo4RuntimeException.

Definition at line 74 of file TGo4UserException.cxx.

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

Referenced by TGo4Analysis::RunImplicitLoop().

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

Member Data Documentation

Int_t TGo4UserException::fiPriority
protected

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

Definition at line 68 of file TGo4UserException.h.

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

TString TGo4UserException::fxMessage
protected

User defined description of the exception reason

Definition at line 65 of file TGo4UserException.h.

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


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