1 #ifndef FWCore_Framework_ExceptionHelpers_h
2 #define FWCore_Framework_ExceptionHelpers_h
50 template <
typename TReturn>
52 char const* context = 0,
53 bool disablePrint =
false) {
void addContextAndPrintException(char const *context, cms::Exception &ex, bool disablePrint)
void stdToEDM(std::exception const &e)
helper::RootFunctionHelper< F, args >::root_function function(F &f)
TReturn callWithTryCatchAndPrint(std::function< TReturn(void)> iFunc, char const *context=0, bool disablePrint=false)
void charPtrToEDM(char const *c)
void stringToEDM(std::string &s)