12 auto index = resolver->kInitialIndex;
13 auto newType = modtype;
17 if (not alternativeTypes.empty()) {
18 alternativeTypes.append(
", ");
20 auto [ttype, tindex] = resolver->resolveType(
std::move(newType),
index);
23 alternativeTypes.append(newType);
24 }
while (
index != resolver->kLastIndex);
25 if (tries == 1 and alternativeTypes == modtype) {
28 alternativeTypes.insert(0,
"These alternative types were tried: ");
void annotateResolverMakerExceptionAndRethrow(cms::Exception &except, std::string const &modtype, ModuleTypeResolverBase const *resolver)
void addAdditionalInfo(std::string const &info)