CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Classes | Functions
edmplugin Namespace Reference

Namespaces

 standard
 

Classes

class  CacheParser
 
class  PluginCapabilities
 
class  PluginFactory
 
class  PluginFactory< R *(Args...)>
 
class  PluginFactoryBase
 
class  PluginFactoryManager
 
struct  PluginInfo
 
class  PluginManager
 
class  SharedLibrary
 

Functions

static void checkForError (const std::istream &iIn, unsigned long iRecordNumber, const std::string &iContext)
 

Function Documentation

static void edmplugin::checkForError ( const std::istream &  iIn,
unsigned long  iRecordNumber,
const std::string &  iContext 
)
static

Definition at line 72 of file CacheParser.cc.

References edm::hlt::Exception.

Referenced by edmplugin::CacheParser::readline().

75 {
76  if(iIn.eof()) {
77  throw cms::Exception("PluginCacheParseFailed")<<"Unexpectedly reached end of file for line "
78  <<iRecordNumber<<" just after '"<<iContext<<"'";
79  }
80  if(iIn.bad()) {
81  throw cms::Exception("PluginCacheParseFailed")<<"Reading failed on line "<<iRecordNumber <<" just after '"<<iContext<<"'";
82  }
83 }