throwPartnerException.cc
Go to the documentation of this file.
3 #include "cetlib_except/demangle.h"
4 
5 void
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)
generator
Definition: train.py:468
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66