CMS 3D CMS Logo

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 namespace edm {
00016 
00026   class UnknownModuleException : public cms::Exception {
00027   public:
00028 
00029     UnknownModuleException(const std::string & moduletype):
00030       cms::Exception("UnknownModule")
00031     {
00032       (*this) << "Module " << moduletype << " was not registered \n"
00033         "Perhaps your module type is misspelled or is not a "
00034         "framework plugin \n"
00035         "Try running EdmPluginDump to obtain a list "
00036         "of available Plugins\n";
00037     }
00038     ~UnknownModuleException() throw(){}
00039   }; // UnknownModuleException
00040 
00041 
00042 } // edm
00043 
00044 #endif

Generated on Tue Jun 9 17:35:53 2009 for CMSSW by  doxygen 1.5.4