CMS 3D CMS Logo

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