CMS 3D CMS Logo

ValidHandle.cc
Go to the documentation of this file.
3 
4 namespace edm::vhhelper {
5  void
6  throwIfNotValid(const void* iProduct) noexcept(false) {
7  if(nullptr == iProduct) {
8  throw cms::Exception("Invalid Product")<<"Attempted to fill a edm::ValidHandle with an invalid product";
9  }
10  }
11 }
void throwIfNotValid(const void *) noexcept(false)
Definition: ValidHandle.cc:6
#define noexcept