CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/FWCore/Framework/interface/UnknownModuleException.h

Go to the documentation of this file.
00001 #ifndef FWCore_Framework_UnknownModuleException_h
00002 #define FWCore_Framework_UnknownModuleException_h
00003 
00013 #include "FWCore/Utilities/interface/Exception.h"
00014 
00015 #include <string>
00016 
00017 namespace edm {
00018 
00028   class UnknownModuleException : public cms::Exception {
00029   public:
00030 
00031     UnknownModuleException(const std::string & moduletype):
00032       cms::Exception("UnknownModule")
00033     {
00034       (*this) << "Module " << moduletype << " was not registered \n"
00035         "Perhaps your module type is misspelled or is not a "
00036         "framework plugin \n"
00037         "Try running EdmPluginDump to obtain a list "
00038         "of available Plugins\n";
00039     }
00040     ~UnknownModuleException() throw(){}
00041   }; // UnknownModuleException
00042 
00043 
00044 } // edm
00045 
00046 #endif