CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
ExceptionHelpers.h File Reference
#include "FWCore/Utilities/interface/ConvertException.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <exception>
#include <functional>
#include <string>

Go to the source code of this file.

Namespaces

 edm
 HLT enums.
 

Functions

void edm::addContextAndPrintException (char const *context, cms::Exception &ex, bool disablePrint)
 
template<typename TReturn >
TReturn edm::callWithTryCatchAndPrint (std::function< TReturn(void)> iFunc, char const *context=nullptr, bool disablePrint=false)