CMS 3D CMS Logo

List of all members | Public Member Functions
edm::eventsetup::NoDataException< T > Class Template Reference

#include <NoDataException.h>

Inheritance diagram for edm::eventsetup::NoDataException< T >:
edm::eventsetup::NoDataExceptionBase cms::Exception edm::eventsetup::NoProxyException< T >

Public Member Functions

 NoDataException (const EventSetupRecordKey &iRecordKey, const DataKey &iDataKey, const char *category_name="NoDataException")
 
 NoDataException (const EventSetupRecordKey &iRecordKey, const DataKey &iDataKey, const char *category_name, const std::string &iExtraInfo)
 
- Public Member Functions inherited from edm::eventsetup::NoDataExceptionBase
const DataKeydataKey () const
 
 NoDataExceptionBase (const EventSetupRecordKey &iRecordKey, const DataKey &iDataKey, const char *category_name="NoDataException")
 
 ~NoDataExceptionBase () override
 
- Public Member Functions inherited from cms::Exception
void addAdditionalInfo (std::string const &info)
 
void addAdditionalInfo (char const *info)
 
void addContext (std::string const &context)
 
void addContext (char const *context)
 
std::list< std::string > const & additionalInfo () const
 
bool alreadyPrinted () const
 
void append (Exception const &another)
 
void append (std::string const &more_information)
 
void append (char const *more_information)
 
std::string const & category () const
 
void clearAdditionalInfo ()
 
void clearContext ()
 
void clearMessage ()
 
virtual Exceptionclone () const
 
std::list< std::string > const & context () const
 
 Exception (std::string const &aCategory)
 
 Exception (char const *aCategory)
 
 Exception (std::string const &aCategory, std::string const &message)
 
 Exception (char const *aCategory, std::string const &message)
 
 Exception (std::string const &aCategory, char const *message)
 
 Exception (char const *aCategory, char const *message)
 
 Exception (std::string const &aCategory, std::string const &message, Exception const &another)
 
 Exception (Exception const &other)
 
virtual std::string explainSelf () const
 
std::list< std::string > history () const
 
std::string message () const
 
Exceptionoperator= (Exception const &other)
 
void raise ()
 
int returnCode () const
 
void setAdditionalInfo (std::list< std::string > const &info)
 
void setAlreadyPrinted (bool value)
 
void setContext (std::list< std::string > const &context)
 
void swap (Exception &other)
 
char const * what () const override
 
 ~Exception () override
 

Additional Inherited Members

- Protected Member Functions inherited from edm::eventsetup::NoDataExceptionBase
void constructMessage (const char *iClassName, const std::string &iExtraInfo)
 
- Static Protected Member Functions inherited from edm::eventsetup::NoDataExceptionBase
static std::string noProxyMessage ()
 
static std::string providerButNoDataMessage (const EventSetupRecordKey &iKey)
 

Detailed Description

template<class T>
class edm::eventsetup::NoDataException< T >

Definition at line 104 of file NoDataException.h.

Constructor & Destructor Documentation

template<class T >
edm::eventsetup::NoDataException< T >::NoDataException ( const EventSetupRecordKey iRecordKey,
const DataKey iDataKey,
const char *  category_name = "NoDataException< T >" 
)
inline

Definition at line 107 of file NoDataException.h.

References edm::eventsetup::NoDataExceptionBase::constructMessage(), and edm::eventsetup::NoDataExceptionBase::providerButNoDataMessage().

109  :
110  NoDataExceptionBase(iRecordKey, iDataKey, category_name)
111  {
112  constructMessage(heterocontainer::className<T>(),
113  providerButNoDataMessage(iRecordKey));
114  }
static std::string providerButNoDataMessage(const EventSetupRecordKey &iKey)
NoDataExceptionBase(const EventSetupRecordKey &iRecordKey, const DataKey &iDataKey, const char *category_name="NoDataException")
void constructMessage(const char *iClassName, const std::string &iExtraInfo)
template<class T >
edm::eventsetup::NoDataException< T >::NoDataException ( const EventSetupRecordKey iRecordKey,
const DataKey iDataKey,
const char *  category_name,
const std::string &  iExtraInfo 
)
inline

Definition at line 116 of file NoDataException.h.

References edm::eventsetup::NoDataExceptionBase::constructMessage().

119  :
120  NoDataExceptionBase(iRecordKey, iDataKey, category_name)
121  {
122  constructMessage(heterocontainer::className<T>(),
123  iExtraInfo);
124  }
NoDataExceptionBase(const EventSetupRecordKey &iRecordKey, const DataKey &iDataKey, const char *category_name="NoDataException")
void constructMessage(const char *iClassName, const std::string &iExtraInfo)