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 <<
" -------------------------------------------------";
39 if(jobRep) jobRep->
reportError(shortDesc, longDesc.str(), rc);
virtual std::string explainSelf() const
void printCmsExceptionWarning(char const *behavior, cms::Exception const &e, edm::JobReport *jobRep=0, int rc=-1)
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=0, int rc=-1)