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 () noexcept 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 noexcept override
 
 ~Exception () noexcept 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 105 of file NoDataException.h.

Constructor & Destructor Documentation

◆ NoDataException() [1/2]

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().

110  : NoDataExceptionBase(iRecordKey, iDataKey, category_name) {
111  constructMessage(heterocontainer::className<T>(), providerButNoDataMessage(iRecordKey));
112  }
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)

◆ NoDataException() [2/2]

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 114 of file NoDataException.h.

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

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