CMS 3D CMS Logo

NoRecordException Class Reference

Description: An exception that is thrown whenever a EventSetup is asked to retrieve a Record it does not have. More...

#include <Framework/interface/NoRecordException.h>


Detailed Description

Description: An exception that is thrown whenever a EventSetup is asked to retrieve a Record it does not have.

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
       ...
    }

The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:29:03 2009 for CMSSW by  doxygen 1.5.4