#include <ESHandleExceptionFactory.h>
Public Member Functions | |
ESHandleExceptionFactory () | |
virtual std::exception_ptr | make () const =0 |
virtual | ~ESHandleExceptionFactory () |
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.
edm::ESHandleExceptionFactory::ESHandleExceptionFactory | ( | ) |
Definition at line 11 of file ESHandleExceptionFactory.cc.
|
virtual |
Definition at line 15 of file ESHandleExceptionFactory.cc.
|
pure virtual |
Implemented in edm::FunctorESHandleExceptionFactory< T >.