CMS 3D CMS Logo

CommonExceptions.cc
Go to the documentation of this file.
4 namespace edm {
5  void checkForWrongProduct(ProductID const& keyID, ProductID const& refID) {
6  if (keyID != refID) {
8  << "AssociationVector: trying to use [] operator passing a reference\n"
9  << " with the wrong product id (i.e.: pointing to the wrong collection)\n"
10  << " keyRef.id = " << keyID << ", ref.id = " << refID << "\n";
11  }
12  }
13 } // namespace edm
edm::errors::InvalidReference
Definition: EDMException.h:39
CommonExceptions.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EDMException.h
edm::checkForWrongProduct
void checkForWrongProduct(ProductID const &keyID, ProductID const &refID)
Definition: CommonExceptions.cc:5
ProductID.h
Exception
Definition: hltDiff.cc:246
edm::ProductID
Definition: ProductID.h:27