test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions
fwlite::ErrorThrower Class Referenceabstract

#include <ErrorThrower.h>

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 29 of file ErrorThrower.h.

Constructor & Destructor Documentation

ErrorThrower::ErrorThrower ( )

Definition at line 90 of file ErrorThrower.cc.

91 {
92 }
ErrorThrower::~ErrorThrower ( )
virtual

Definition at line 99 of file ErrorThrower.cc.

100 {
101 }

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< Collection >::getByLabel().

132  {
133  return new NoBranchErrorThrower(iType,iModule,iInstance,iProcess);
134 }
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< Collection >::getByLabel().

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

Definition at line 127 of file ErrorThrower.cc.

127  {
128  return new UnsetErrorThrower();
129 }