Go to the documentation of this file.00001 #ifndef FWCore_Framework_MakeDataException_h
00002 #define FWCore_Framework_MakeDataException_h
00003
00004
00005
00006
00007
00028
00029
00030
00031
00032
00033
00034 #include <string>
00035
00036
00037 #include "FWCore/Framework/interface/DataKey.h"
00038 #include "FWCore/Framework/interface/EventSetupRecordKey.h"
00039 #include "FWCore/Utilities/interface/Exception.h"
00040
00041
00042 namespace edm {
00043 namespace eventsetup {
00044
00045 class MakeDataException : public cms::Exception
00046 {
00047 public:
00048 MakeDataException(const EventSetupRecordKey&, const DataKey&);
00049 ~MakeDataException() throw() {}
00050
00051
00052 const char* myMessage() const throw() {
00053 return message_.c_str();
00054 }
00055
00056
00057 static std::string standardMessage(const EventSetupRecordKey&, const DataKey&);
00058
00059
00060 private:
00061
00062
00063
00064
00065
00066 std::string message_;
00067 };
00068
00069 }
00070 }
00071 #endif