LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::DoNotMakePartner< T > Struct Template Reference

#include "Wrapper.h"

Public Member Functions

std::unique_ptr< EDProductoperator() (T const &, std::type_info const &) const
 

Detailed Description

template<typename T>
struct art::DoNotMakePartner< T >

Definition at line 67 of file Wrapper.h.

Member Function Documentation

template<typename T >
std::unique_ptr<EDProduct> art::DoNotMakePartner< T >::operator() ( T const &  ,
std::type_info const &   
) const
inline

Definition at line 337 of file Wrapper.h.

References art::errors::LogicError, and art::Wrapper< T >::obj.

338  {
339  throw Exception(errors::LogicError, "makePartner")
340  << "Attempted to make partner of a product ("
341  << cet::demangle_symbol(typeid(T).name())
342  << ") that does not know how!\n"
343  << "Please report to the ART framework developers.\n";
344  }
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66

The documentation for this struct was generated from the following file: