DataFormats
FWLite
interface
ErrorThrower.h
Go to the documentation of this file.
1
#ifndef DataFormats_FWLite_ErrorThrower_h
2
#define DataFormats_FWLite_ErrorThrower_h
3
// -*- C++ -*-
4
//
5
// Package: FWLite
6
// Class : ErrorThrower
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Tue Sep 23 09:58:07 EDT 2008
19
//
20
21
// system include files
22
#include <typeinfo>
23
24
// user include files
25
26
// forward declarations
27
namespace
fwlite
{
28
class
ErrorThrower
{
29
public
:
30
ErrorThrower
();
31
virtual
~ErrorThrower
();
32
33
// ---------- const member functions ---------------------
34
virtual
void
throwIt
()
const
= 0;
35
virtual
ErrorThrower
*
clone
()
const
= 0;
36
37
// ---------- static member functions --------------------
38
static
ErrorThrower
*
unsetErrorThrower
();
39
static
ErrorThrower
*
errorThrowerBranchNotFoundException
(
const
std::type_info&,
40
const
char
*,
41
const
char
*,
42
const
char
*);
43
static
ErrorThrower
*
errorThrowerProductNotFoundException
(
const
std::type_info&,
44
const
char
*,
45
const
char
*,
46
const
char
*);
47
48
// ---------- member functions ---------------------------
49
50
private
:
51
//ErrorThrower(const ErrorThrower&); // stop default
52
53
//const ErrorThrower& operator=(const ErrorThrower&); // stop default
54
55
// ---------- member data --------------------------------
56
};
57
58
}
// namespace fwlite
59
#endif
fwlite
Definition:
TFileDirectory.h:16
fwlite::ErrorThrower::errorThrowerProductNotFoundException
static ErrorThrower * errorThrowerProductNotFoundException(const std::type_info &, const char *, const char *, const char *)
Definition:
ErrorThrower.cc:125
fwlite::ErrorThrower::throwIt
virtual void throwIt() const =0
fwlite::ErrorThrower::unsetErrorThrower
static ErrorThrower * unsetErrorThrower()
Definition:
ErrorThrower.cc:116
fwlite::ErrorThrower::errorThrowerBranchNotFoundException
static ErrorThrower * errorThrowerBranchNotFoundException(const std::type_info &, const char *, const char *, const char *)
Definition:
ErrorThrower.cc:118
fwlite::ErrorThrower
Definition:
ErrorThrower.h:28
fwlite::ErrorThrower::~ErrorThrower
virtual ~ErrorThrower()
Definition:
ErrorThrower.cc:91
fwlite::ErrorThrower::clone
virtual ErrorThrower * clone() const =0
fwlite::ErrorThrower::ErrorThrower
ErrorThrower()
Definition:
ErrorThrower.cc:84
Generated for CMSSW Reference Manual by
1.8.16