CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

fwlite::ErrorThrower Class Reference

#include <ErrorThrower.h>

List of all members.

Public Member Functions

virtual ErrorThrowerclone () const =0
 ErrorThrower ()
virtual void throwIt () const =0
virtual ~ErrorThrower ()

Static Public Member Functions

static ErrorThrowererrorThrowerBranchNotFoundException (const std::type_info &, const char *, const char *, const char *)
static ErrorThrowererrorThrowerProductNotFoundException (const std::type_info &, const char *, const char *, const char *)
static ErrorThrowerunsetErrorThrower ()

Detailed Description

Definition at line 30 of file ErrorThrower.h.


Constructor & Destructor Documentation

ErrorThrower::ErrorThrower ( )

Definition at line 91 of file ErrorThrower.cc.

{
}
ErrorThrower::~ErrorThrower ( ) [virtual]

Definition at line 100 of file ErrorThrower.cc.

{
}

Member Function Documentation

virtual ErrorThrower* fwlite::ErrorThrower::clone ( ) const [pure virtual]
ErrorThrower * ErrorThrower::errorThrowerBranchNotFoundException ( const std::type_info &  iType,
const char *  iModule,
const char *  iInstance,
const char *  iProcess 
) [static]

Definition at line 133 of file ErrorThrower.cc.

Referenced by fwlite::Handle< Collection >::getByLabel().

                                                                                                                                            {
   return new NoBranchErrorThrower(iType,iModule,iInstance,iProcess);
}
ErrorThrower * ErrorThrower::errorThrowerProductNotFoundException ( const std::type_info &  iType,
const char *  iModule,
const char *  iInstance,
const char *  iProcess 
) [static]

Definition at line 138 of file ErrorThrower.cc.

Referenced by fwlite::Handle< Collection >::getByLabel().

                                                                                                                                             {
   return new NoProductErrorThrower(iType,iModule,iInstance,iProcess);
}
virtual void fwlite::ErrorThrower::throwIt ( ) const [pure virtual]
ErrorThrower * ErrorThrower::unsetErrorThrower ( ) [static]

Definition at line 128 of file ErrorThrower.cc.

                                {
   return new UnsetErrorThrower();
}