Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
Common
src
ConvertHandle.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/EDMException.h
"
2
#include "
DataFormats/Common/interface/EDProduct.h
"
3
4
namespace
edm {
5
class
EDProduct;
6
namespace
handleimpl {
7
void
throwInvalidReference
() {
8
throw
edm::Exception
(
edm::errors::InvalidReference
,
"NullPointer"
)
9
<<
"edm::BasicHandle has null pointer to Wrapper"
;
10
}
11
12
void
throwConvertTypeError
(
EDProduct
const
* product) {
13
throw
edm::Exception
(
edm::errors::LogicError
,
"ConvertType"
)
14
<<
"edm::Wrapper converting from EDProduct to "
15
<<
typeid
(*product).name();
16
}
17
}
18
}
EDProduct.h
edm::EDProduct
Definition:
EDProduct.h:17
EDMException.h
edm::errors::InvalidReference
Definition:
EDMException.h:49
edm::hlt::Exception
error
Definition:
HLTenums.h:24
edm::handleimpl::throwConvertTypeError
void throwConvertTypeError(EDProduct const *product)
Definition:
ConvertHandle.cc:12
edm::handleimpl::throwInvalidReference
void throwInvalidReference()
Definition:
ConvertHandle.cc:7
edm::errors::LogicError
Definition:
EDMException.h:47
Generated for CMSSW Reference Manual by
1.8.5