CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
edm::esvhhelper Namespace Reference

Functions

void throwIfNotValid (const void *) noexcept(false)
 

Function Documentation

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  }