Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "DataFormats/FWLite/interface/ESHandle.h"
00018
00019
00020
00021
00022
00023
00024 static cms::Exception s_exc("ESHandleUnset", "The ESHandle is being accessed without ever being set by a Record");
00025
00026 static void doNotDelete(cms::Exception*) {}
00027
00028 namespace fwlite {
00029 boost::shared_ptr<cms::Exception> eshandle_not_set_exception() {
00030 return boost::shared_ptr<cms::Exception>(&s_exc, doNotDelete);
00031 }
00032 }