Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
FWLite
src
ESHandle.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: FWLite
4
// Class : ESHandle
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author:
10
// Created: Mon Dec 14 15:29:19 CST 2009
11
//
12
13
// system include files
14
15
// user include files
16
#include "
DataFormats/FWLite/interface/ESHandle.h
"
17
18
19
//
20
// constants, enums and typedefs
21
//
22
23
static
cms::Exception
s_exc
(
"ESHandleUnset"
,
"The ESHandle is being accessed without ever being set by a Record"
);
24
25
static
void
doNotDelete
(
cms::Exception
*) {}
26
27
namespace
fwlite {
28
std::shared_ptr<cms::Exception>
eshandle_not_set_exception
() {
29
return
std::shared_ptr<cms::Exception>(&
s_exc
,
doNotDelete
);
30
}
31
}
fwlite::eshandle_not_set_exception
std::shared_ptr< cms::Exception > eshandle_not_set_exception()
Definition:
ESHandle.cc:28
ESHandle.h
doNotDelete
static void doNotDelete(cms::Exception *)
Definition:
ESHandle.cc:25
s_exc
static cms::Exception s_exc("ESHandleUnset","The ESHandle is being accessed without ever being set by a Record")
cms::Exception
Definition:
Exception.h:68
Generated for CMSSW Reference Manual by
1.8.5