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 // $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
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 }
static void doNotDelete(cms::Exception *)
Definition: ESHandle.cc:26
static cms::Exception s_exc("ESHandleUnset","The ESHandle is being accessed without ever being set by a Record")
boost::shared_ptr< cms::Exception > eshandle_not_set_exception()
Definition: ESHandle.cc:29