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  UnknownModuleException(const std::string& moduletype) : cms::Exception("UnknownModule") {
30  (*this) << "Module " << moduletype
31  << " was not registered \n"
32  "Perhaps your module type is misspelled or is not a "
33  "framework plugin \n"
34  "Try running EdmPluginDump to obtain a list "
35  "of available Plugins\n";
36  }
38  }; // UnknownModuleException
39 
40 } // namespace edm
41 
42 #endif
UnknownModuleException(const std::string &moduletype)
Exception thrown when trying to instance a module which is not registered to the system.
Namespace of DDCMS conversion namespace.
#define noexcept
HLT enums.