LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
throwPartnerException.cc
Go to the documentation of this file.
3 #include "cetlib_except/demangle.h"
4 
5 void
6 art::detail::throwPartnerException(std::type_info const& generator,
7  std::type_info const& wanted_wrapper_type)
8 {
9  throw Exception(errors::LogicError, "makePartner")
10  << "Attempted to make type "
11  << cet::demangle_symbol(wanted_wrapper_type.name())
12  << " which is not a valid wrapped partner of "
13  << cet::demangle_symbol(generator.name())
14  << "\nPlease report to the ART framework developers.\n";
15 }
void throwPartnerException(std::type_info const &generator, std::type_info const &wanted_wrapper_type)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66