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
// $Id: ESHandle.cc,v 1.2 2010/07/24 14:14:47 wmtan Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "
DataFormats/FWLite/interface/ESHandle.h
"
18
19
20
//
21
// constants, enums and typedefs
22
//
23
24
static
cms::Exception
s_exc
(
"ESHandleUnset"
,
"The ESHandle is being accessed without ever being set by a Record"
);
25
26
static
void
doNotDelete
(
cms::Exception
*) {}
27
28
namespace
fwlite {
29
boost::shared_ptr<cms::Exception>
eshandle_not_set_exception
() {
30
return
boost::shared_ptr<cms::Exception>(&
s_exc
,
doNotDelete
);
31
}
32
}
ESHandle.h
doNotDelete
static void doNotDelete(cms::Exception *)
Definition:
ESHandle.cc:26
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:66
fwlite::eshandle_not_set_exception
boost::shared_ptr< cms::Exception > eshandle_not_set_exception()
Definition:
ESHandle.cc:29
Generated for CMSSW Reference Manual by
1.8.5