Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Utilities
interface
ExceptionCollector.h
Go to the documentation of this file.
1
#ifndef FWCore_Utilities_ExceptionCollector_h
2
#define FWCore_Utilities_ExceptionCollector_h
3
24
#include "
FWCore/Utilities/interface/Exception.h
"
25
#include <exception>
26
#include "boost/function.hpp"
27
28
namespace
edm {
29
class
ExceptionCollector
{
30
public
:
31
ExceptionCollector
() :
exception_
(std::string()),
hasThrown_
(
false
) {}
32
~ExceptionCollector
() {}
33
bool
hasThrown
()
const
{
return
hasThrown_
;}
34
void
rethrow
()
const
;
35
void
call
(
boost::function
<
void
(
void
)>);
36
37
private
:
38
cms::Exception
exception_
;
39
bool
hasThrown_
;
40
};
41
}
42
43
#endif
edm::ExceptionCollector::hasThrown
bool hasThrown() const
Definition:
ExceptionCollector.h:33
edm::ExceptionCollector::exception_
cms::Exception exception_
Definition:
ExceptionCollector.h:38
funct::false
false
Definition:
Factorize.h:34
edm::ExceptionCollector::~ExceptionCollector
~ExceptionCollector()
Definition:
ExceptionCollector.h:32
edm::ExceptionCollector::call
void call(boost::function< void(void)>)
Definition:
ExceptionCollector.cc:10
edm::ExceptionCollector::hasThrown_
bool hasThrown_
Definition:
ExceptionCollector.h:39
edm::ExceptionCollector
Definition:
ExceptionCollector.h:29
root::function
helper::RootFunctionHelper< F, args >::root_function function(F &f)
Definition:
rootFunction.h:14
edm::ExceptionCollector::ExceptionCollector
ExceptionCollector()
Definition:
ExceptionCollector.h:31
Exception.h
cms::Exception
Definition:
Exception.h:104
edm::ExceptionCollector::rethrow
void rethrow() const
Definition:
ExceptionCollector.cc:5
Generated for CMSSW Reference Manual by
1.8.5