CMS 3D CMS Logo

fwlite::ErrorThrower Class Reference

#include <DataFormats/FWLite/interface/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 90 of file ErrorThrower.cc.

00091 {
00092 }

ErrorThrower::~ErrorThrower (  )  [virtual]

Definition at line 99 of file ErrorThrower.cc.

00100 {
00101 }


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 132 of file ErrorThrower.cc.

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

00132                                                                                                                                             {
00133    return new NoBranchErrorThrower(iType,iModule,iInstance,iProcess);
00134 }

ErrorThrower * ErrorThrower::errorThrowerProductNotFoundException ( const std::type_info &  iType,
const char *  iModule,
const char *  iInstance,
const char *  iProcess 
) [static]

Definition at line 137 of file ErrorThrower.cc.

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

00137                                                                                                                                              {
00138    return new NoProductErrorThrower(iType,iModule,iInstance,iProcess);
00139 }

virtual void fwlite::ErrorThrower::throwIt (  )  const [pure virtual]

Referenced by fwlite::Handle< T >::check().

ErrorThrower * ErrorThrower::unsetErrorThrower (  )  [static]

Definition at line 127 of file ErrorThrower.cc.

00127                                 {
00128    return new UnsetErrorThrower();
00129 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:47:04 2009 for CMSSW by  doxygen 1.5.4