CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
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 }
std::shared_ptr< cms::Exception > eshandle_not_set_exception()
Definition: ESHandle.cc:28
static void doNotDelete(cms::Exception *)
Definition: ESHandle.cc:25
static cms::Exception s_exc("ESHandleUnset","The ESHandle is being accessed without ever being set by a Record")