CMS 3D CMS Logo

MakeDataException Class Reference

Description: An exception that is thrown whenever a Proxy had a problem with its algorithm. More...

#include <FWCore/Framework/interface/MakeDataException.h>


Detailed Description

Description: An exception that is thrown whenever a Proxy had a problem with its algorithm.

Usage: This exception will be thrown automatically if a a class that inherits from DataProxyTemplate<> returns 0 from its make method.

If you wish to explain the reason for the error, you can throw a MakeDataException from within your Proxy E.g.

if(outOfBoundsValue) {
   throw MakeDataException<record_type, value_type>(
                                                    " value out of bounds",
                                                    iDataKey);
}

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