00001 #include "FWCore/Utilities/interface/EDMException.h" 00002 #include "DataFormats/Common/interface/EDProduct.h" 00003 00004 namespace edm { 00005 class EDProduct; 00006 namespace handleimpl { 00007 void throwInvalidReference() { 00008 throw edm::Exception(edm::errors::InvalidReference,"NullPointer") 00009 << "edm::BasicHandle has null pointer to Wrapper"; 00010 } 00011 00012 void throwConvertTypeError(EDProduct const* product) { 00013 throw edm::Exception(edm::errors::LogicError,"ConvertType") 00014 << "edm::Wrapper converting from EDProduct to " 00015 << typeid(*product).name(); 00016 } 00017 } 00018 }