1 #ifndef FWCore_Framework_ExceptionHelpers_h
2 #define FWCore_Framework_ExceptionHelpers_h
53 template <
typename TReturn>
55 char const* context = 0,
56 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)