CMS 3D CMS Logo

List of all members | Public Member Functions
edm::ESHandleExceptionFactory Class Referenceabstract

#include <ESHandleExceptionFactory.h>

Inheritance diagram for edm::ESHandleExceptionFactory:
edm::FunctorESHandleExceptionFactory< T >

Public Member Functions

 ESHandleExceptionFactory ()
 
virtual std::exception_ptr make () const =0
 
virtual ~ESHandleExceptionFactory ()
 

Detailed Description

Description: Creates exceptions for an edm::ESHandle

Usage: When an event setup data product is requested which is not available, the edm::ESHandle<> will hold an edm::ESHandleExceptionFactory which is used to manufacture the exception which will be thrown if the ESHandle is dereferenced. Using a factory over having the exception already in the ESHandle is faster for the case where code calls Handle::isValid before dereferencing.

Definition at line 31 of file ESHandleExceptionFactory.h.

Constructor & Destructor Documentation

edm::ESHandleExceptionFactory::ESHandleExceptionFactory ( )

Definition at line 11 of file ESHandleExceptionFactory.cc.

12 {
13 }
edm::ESHandleExceptionFactory::~ESHandleExceptionFactory ( )
virtual

Definition at line 15 of file ESHandleExceptionFactory.cc.

16 {
17 }

Member Function Documentation

virtual std::exception_ptr edm::ESHandleExceptionFactory::make ( ) const
pure virtual