1 #ifndef FWCore_Framework_ExceptionHelpers_h 2 #define FWCore_Framework_ExceptionHelpers_h 48 template <
typename TReturn>
50 char const* context =
nullptr,
51 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())