CMS 3D CMS Logo

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

Constructor & Destructor Documentation

ErrorThrower::ErrorThrower ( )

Definition at line 84 of file ErrorThrower.cc.

84 {}
ErrorThrower::~ErrorThrower ( )
virtual

Definition at line 91 of file ErrorThrower.cc.

91 {}

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

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

Definition at line 125 of file ErrorThrower.cc.

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

Definition at line 116 of file ErrorThrower.cc.

116 { return new UnsetErrorThrower(); }