CMS 3D CMS Logo

UnknownModuleException.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_UnknownModuleException_h
2 #define FWCore_Framework_UnknownModuleException_h
3 
13 
14 #include <string>
15 
16 namespace edm {
17 
28  public:
29 
30  UnknownModuleException(const std::string & moduletype):
31  cms::Exception("UnknownModule")
32  {
33  (*this) << "Module " << moduletype << " was not registered \n"
34  "Perhaps your module type is misspelled or is not a "
35  "framework plugin \n"
36  "Try running EdmPluginDump to obtain a list "
37  "of available Plugins\n";
38  }
40  }; // UnknownModuleException
41 
42 
43 } // edm
44 
45 #endif
UnknownModuleException(const std::string &moduletype)
Exception thrown when trying to instance a module which is not registered to the system.
#define noexcept
HLT enums.