15 std::ostringstream longDesc;
18 <<
"----- Begin " << shortDesc <<
" " 20 <<
"-----------------------\n" 22 <<
"----- End " << shortDesc <<
" -------------------------------------------------";
23 if(jobRep) jobRep->
reportError(shortDesc, longDesc.str(), rc);
30 shortDesc +=
" Exception";
31 std::ostringstream longDesc;
34 <<
"----- Begin " << shortDesc <<
" " 36 <<
"-----------------------\n" 38 <<
"----- End " << shortDesc <<
" -------------------------------------------------";
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=nullptr, int rc=-1)
virtual std::string explainSelf() const
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
void printCmsExceptionWarning(char const *behavior, cms::Exception const &e)