Public Member Functions | Protected Attributes | Private Member Functions

TGo4UserException Class Reference

#include <TGo4UserException.h>

Inheritance diagram for TGo4UserException:
TGo4RuntimeException TGo4Exception

List of all members.

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

Protected Attributes

TString fxMessage
Int_t fiPriority

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 44 of file TGo4UserException.cxx.

References GO4TRACE.

TGo4UserException::TGo4UserException ( const TGo4UserException right  ) 

Definition at line 68 of file TGo4UserException.cxx.

References fiPriority, fxMessage, and GO4TRACE.

TGo4UserException::TGo4UserException (  )  [private]

Definition at line 21 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 76 of file TGo4UserException.cxx.

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

Referenced by TGo4Analysis::RunImplicitLoop().

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

Definition at line 50 of file TGo4UserException.cxx.

References fiPriority, fxMessage, and GO4TRACE.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines