Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
Common
src
ValidHandle.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/ValidHandle.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
4
namespace
edm::vhhelper {
5
void
throwIfNotValid
(
const
void
* iProduct) noexcept(
false
) {
6
if
(
nullptr
== iProduct) {
7
throw
cms::Exception
(
"Invalid Product"
) <<
"Attempted to fill a edm::ValidHandle with an invalid product"
;
8
}
9
}
10
}
// namespace edm::vhhelper
Exception
Definition:
hltDiff.cc:245
ValidHandle.h
edm::vhhelper::throwIfNotValid
void throwIfNotValid(const void *) noexcept(false)
Definition:
ValidHandle.cc:5
Exception.h
Generated for CMSSW Reference Manual by
1.8.5