CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CommonExceptions.cc
Go to the documentation of this file.
4 namespace edm {
5  void
6  checkForWrongProduct(ProductID const& keyID, ProductID const& refID) {
7  if (keyID != refID) {
9  "AssociationVector: trying to use [] operator passing a reference\n" <<
10  " with the wrong product id (i.e.: pointing to the wrong collection)\n" <<
11  " keyRef.id = " << keyID << ", ref.id = " << refID << "\n";
12 
13  }
14  }
15 }
16 
void checkForWrongProduct(ProductID const &keyID, ProductID const &refID)