CMS 3D CMS Logo

Functions
edm::esvhhelper Namespace Reference

Functions

void throwIfNotValid (const void *) noexcept(false)
 

Function Documentation

◆ throwIfNotValid()

void edm::esvhhelper::throwIfNotValid ( const void *  iProduct)
noexcept

Definition at line 5 of file ESValidHandle.cc.

References Exception.

Referenced by edm::makeESValid().

5  {
6  if (nullptr == iProduct) {
7  throw cms::Exception("Invalid Product") << "Attempted to fill a edm::ESValidHandle with an invalid product";
8  }
9  }