CMS 3D CMS Logo

Functions

edm::handleimpl Namespace Reference

Functions

void throwConvertTypeError (EDProduct const *product)
void throwInvalidReference ()

Function Documentation

void edm::handleimpl::throwConvertTypeError ( EDProduct const *  product)

Definition at line 12 of file ConvertHandle.cc.

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

Referenced by edm::convert_handle().

                                                         {
      throw edm::Exception(edm::errors::LogicError,"ConvertType")
        << "edm::Wrapper converting from EDProduct to "
        << typeid(*product).name();
    }
void edm::handleimpl::throwInvalidReference ( )

Definition at line 7 of file ConvertHandle.cc.

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

Referenced by edm::convert_handle().

                                 {
      throw edm::Exception(edm::errors::InvalidReference,"NullPointer")
        << "edm::BasicHandle has null pointer to Wrapper";
    }