AliPhysics  97a96ce (97a96ce)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EMCalTriggerPtAnalysis::EventCorruptionException Class Reference

Exception class thrown when event collection is corrupted (event pointer 0 or trigger patch container not found) More...

#include <AliEMCalTriggerAnaTriggerClass.h>

Inheritance diagram for EMCalTriggerPtAnalysis::EventCorruptionException:

Public Member Functions

 EventCorruptionException (std::string triggerclass, std::string reason)
 
virtual ~EventCorruptionException () throw ()
 
const char * what () const throw ()
 

Private Attributes

std::string fMessage
 The error message. More...
 

Detailed Description

Exception class thrown when event collection is corrupted (event pointer 0 or trigger patch container not found)

Definition at line 218 of file AliEMCalTriggerAnaTriggerClass.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::EventCorruptionException::EventCorruptionException ( std::string  triggerclass,
std::string  reason 
)
inline

Constructor, building the error message

Parameters
triggerclassTrigger class throwing the exception
reasonReason for throwing the exception

Definition at line 225 of file AliEMCalTriggerAnaTriggerClass.h.

virtual EMCalTriggerPtAnalysis::EventCorruptionException::~EventCorruptionException ( )
throw (
)
inlinevirtual

Destructor

Definition at line 235 of file AliEMCalTriggerAnaTriggerClass.h.

Member Function Documentation

const char* EMCalTriggerPtAnalysis::EventCorruptionException::what ( ) const
throw (
)
inline

Returns the error message

Returns
The error message

Definition at line 241 of file AliEMCalTriggerAnaTriggerClass.h.

Member Data Documentation

std::string EMCalTriggerPtAnalysis::EventCorruptionException::fMessage
private

The error message.

Definition at line 246 of file AliEMCalTriggerAnaTriggerClass.h.

Referenced by EventCorruptionException(), and what().


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