CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ValidHandle.cc
Go to the documentation of this file.
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
void throwIfNotValid(const void *) noexcept(false)
Definition: ValidHandle.cc:5