#include <Framework/interface/NoRecordException.h>
Usage: This exception will be thrown if you call the EventSetup method get() and the record type you request does not exist. E.g.
try { iEventSetup.get<MyRecord>()...; } catch(eventsetup::NoRecordException& iException) { //no record of type MyRecord found in EventSetup ... }