CMS 3D CMS Logo

edm::RootServiceChecker Class Reference

#include <IOPool/Common/interface/RootServiceChecker.h>

List of all members.

Public Member Functions

 RootServiceChecker ()
 ~RootServiceChecker ()


Detailed Description

Definition at line 5 of file RootServiceChecker.h.


Constructor & Destructor Documentation

edm::RootServiceChecker::RootServiceChecker (  ) 

Definition at line 7 of file RootServiceChecker.cc.

References edm::errors::Configuration, and edm::Service< T >::isAvailable().

00007                                          {
00008     Service<RootHandlers> rootSvc;
00009     if (!rootSvc.isAvailable()) {
00010       throw edm::Exception(errors::Configuration) <<
00011             "The 'InitRootHandlers' service was not specified.\n" <<
00012             "This service must be used if PoolSource or PoolOutputModule is used.\n";
00013     }
00014   }

edm::RootServiceChecker::~RootServiceChecker (  )  [inline]

Definition at line 8 of file RootServiceChecker.h.

00008 {}


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:44:14 2009 for CMSSW by  doxygen 1.5.4