7 if (instanceName.find(
'_') != std::string::npos) {
9 <<
"Instance name \"" << instanceName
10 <<
"\" is illegal: underscores are not permitted in instance names." 18 if (fcn.find(
'_') != std::string::npos) {
21 <<
"\" is not suitable for use as a product due to the presence of " 22 <<
"underscores which are not allowed anywhere in the class name " 23 <<
"(including namespace and enclosing classes).\n";
void verifyFriendlyClassName(std::string const &fcn)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void verifyInstanceName(std::string const &in)