test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConvertHandle.cc
Go to the documentation of this file.
3 
4 namespace edm {
5  namespace handleimpl {
7  throw Exception(errors::InvalidReference, "NullPointer")
8  << "edm::BasicHandle has null pointer to Wrapper";
9  }
10 
11  void throwConvertTypeError(std::type_info const& expected, std::type_info const& actual) {
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  }
16  }
17 }
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
void throwInvalidReference()
Definition: ConvertHandle.cc:6