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  }
37  ~UnknownModuleException() noexcept override {}
38  }; // UnknownModuleException
39 
40 } // namespace edm
41 
42 #endif
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::UnknownModuleException::UnknownModuleException
UnknownModuleException(const std::string &moduletype)
Definition: UnknownModuleException.h:29
edm::Exception
Definition: EDMException.h:77
edm::UnknownModuleException
Exception thrown when trying to instance a module which is not registered to the system.
Definition: UnknownModuleException.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::UnknownModuleException::~UnknownModuleException
~UnknownModuleException() noexcept override
Definition: UnknownModuleException.h:37
Exception.h
cms::Exception
Definition: Exception.h:70
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21