CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MakeDataException.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_MakeDataException_h
2 #define FWCore_Framework_MakeDataException_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : MakeDataException
7 //
28 //
29 // Author: Chris Jones
30 // Created: Fri Apr 1 13:18:53 EST 2005
31 //
32 
33 // system include files
34 #include <string>
35 
36 // user include files
40 
41 // forward declarations
42 namespace edm {
43  namespace eventsetup {
44 
46 {
47  public:
50 
51  // ---------- const member functions ---------------------
52  const char* myMessage() const throw() {
53  return message_.c_str();
54  }
55 
56  // ---------- static member functions --------------------
57  static std::string standardMessage(const EventSetupRecordKey&, const DataKey&);
58  // ---------- member functions ---------------------------
59 
60  private:
61  //MakeDataException(const MakeDataException&); // stop default
62 
63  //const MakeDataException& operator=(const MakeDataException&); // stop default
64 
65  // ---------- member data --------------------------------
66  std::string message_;
67 };
68 
69  }
70 }
71 #endif
static std::string standardMessage(const EventSetupRecordKey &, const DataKey &)
MakeDataException(const EventSetupRecordKey &, const DataKey &)