FWCore
Framework
interface
ExceptionActions.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ExceptionActions_h
2
#define FWCore_Framework_ExceptionActions_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include <string>
7
#include <map>
8
9
namespace
edm
{
10
namespace
exception_actions {
11
enum
ActionCodes
{
IgnoreCompletely
= 0,
Rethrow
,
SkipEvent
,
FailPath
,
LastCode
};
12
13
const
char
*
actionName
(
ActionCodes
code);
14
}
// namespace exception_actions
15
16
class
ExceptionToActionTable
{
17
public
:
18
typedef
std::map<std::string, exception_actions::ActionCodes>
ActionMap
;
19
20
ExceptionToActionTable
();
21
explicit
ExceptionToActionTable
(
const
ParameterSet
&);
22
~ExceptionToActionTable
();
23
24
void
add
(
const
std::string
&
category
,
exception_actions::ActionCodes
code);
25
exception_actions::ActionCodes
find
(
const
std::string
&
category
)
const
;
26
27
private
:
28
void
addDefaults
();
29
ActionMap
map_
;
30
};
31
}
// namespace edm
32
#endif
taus_updatedMVAIds_cff.category
category
Definition:
taus_updatedMVAIds_cff.py:31
edm::exception_actions::actionName
const char * actionName(ActionCodes code)
Definition:
ExceptionActions.cc:25
edm::exception_actions::LastCode
Definition:
ExceptionActions.h:11
edm::exception_actions::Rethrow
Definition:
ExceptionActions.h:11
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ExceptionToActionTable::map_
ActionMap map_
Definition:
ExceptionActions.h:29
edm::ExceptionToActionTable::add
void add(const std::string &category, exception_actions::ActionCodes code)
Definition:
ExceptionActions.cc:81
edm::exception_actions::FailPath
Definition:
ExceptionActions.h:11
edm::exception_actions::SkipEvent
Definition:
ExceptionActions.h:11
edm::ExceptionToActionTable::addDefaults
void addDefaults()
Definition:
ExceptionActions.cc:66
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::ExceptionToActionTable
Definition:
ExceptionActions.h:16
edm::ExceptionToActionTable::ExceptionToActionTable
ExceptionToActionTable()
Definition:
ExceptionActions.cc:31
edm::ExceptionToActionTable::~ExceptionToActionTable
~ExceptionToActionTable()
Definition:
ExceptionActions.cc:79
edm::ExceptionToActionTable::ActionMap
std::map< std::string, exception_actions::ActionCodes > ActionMap
Definition:
ExceptionActions.h:18
edm::ExceptionToActionTable::find
exception_actions::ActionCodes find(const std::string &category) const
Definition:
ExceptionActions.cc:85
ParameterSet.h
edm::exception_actions::IgnoreCompletely
Definition:
ExceptionActions.h:11
edm::exception_actions::ActionCodes
ActionCodes
Definition:
ExceptionActions.h:11
Generated for CMSSW Reference Manual by
1.8.16