FWCore
Framework
src
ESValidHandle.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/ESValidHandle.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
4
namespace
edm::esvhhelper
{
5
void
throwIfNotValid
(
const
void
* iProduct) noexcept(
false
) {
6
if
(
nullptr
== iProduct) {
7
throw
cms::Exception
(
"Invalid Product"
) <<
"Attempted to fill a edm::ESValidHandle with an invalid product"
;
8
}
9
}
10
}
// namespace edm::esvhhelper
ESValidHandle.h
edm::esvhhelper::throwIfNotValid
void throwIfNotValid(const void *) noexcept(false)
Definition:
ESValidHandle.cc:5
Exception
Definition:
hltDiff.cc:246
Exception.h
edm::esvhhelper
Definition:
ESValidHandle.h:32
Generated for CMSSW Reference Manual by
1.8.16