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

Constructor & Destructor Documentation

ErrorThrower::ErrorThrower ( )

Definition at line 91 of file ErrorThrower.cc.

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

Definition at line 100 of file ErrorThrower.cc.

101 {
102 }

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().

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

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

Definition at line 128 of file ErrorThrower.cc.

128  {
129  return new UnsetErrorThrower();
130 }