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)
TReturn callWithTryCatchAndPrint(std::function< TReturn(void)> iFunc, char const *context=0, bool disablePrint=false)
auto wrap(F iFunc) -> decltype(iFunc())