CMS 3D CMS Logo

Functions
edm::handleimpl Namespace Reference

Functions

void throwConvertTypeError (std::type_info const &expected, std::type_info const &actual)
 
void throwInvalidReference ()
 

Function Documentation

void edm::handleimpl::throwConvertTypeError ( std::type_info const &  expected,
std::type_info const &  actual 
)

Definition at line 11 of file ConvertHandle.cc.

References Exception, and edm::errors::LogicError.

Referenced by edm::convert_handle(), and edm::getProductByTag().

11  {
12  throw Exception(errors::LogicError, "TypeMismatch")
13  << "edm::BasicHandle contains a product of type " << actual.name() << ".\n"
14  << "A type of " << expected.name() << "was expected.";
15  }
void edm::handleimpl::throwInvalidReference ( )