#include <MakeDataException.h>
Public Member Functions | |
MakeDataException (const EventSetupRecordKey &, const DataKey &) | |
const char * | myMessage () const throw () |
~MakeDataException () throw () | |
Static Public Member Functions | |
static std::string | standardMessage (const EventSetupRecordKey &, const DataKey &) |
Private Attributes | |
std::string | message_ |
Definition at line 45 of file MakeDataException.h.
MakeDataException::MakeDataException | ( | const EventSetupRecordKey & | iRecordKey, |
const DataKey & | iDataKey | ||
) |
Definition at line 7 of file MakeDataException.cc.
References cms::Exception::append(), and myMessage().
: cms::Exception("MakeDataException"), message_(standardMessage(iRecordKey,iDataKey)) { this->append(myMessage()); }
edm::eventsetup::MakeDataException::~MakeDataException | ( | ) | throw () [inline] |
Definition at line 49 of file MakeDataException.h.
{}
const char* edm::eventsetup::MakeDataException::myMessage | ( | ) | const throw () [inline] |
Definition at line 52 of file MakeDataException.h.
References message_.
Referenced by MakeDataException().
{ return message_.c_str(); }
std::string MakeDataException::standardMessage | ( | const EventSetupRecordKey & | iRecordKey, |
const DataKey & | iDataKey | ||
) | [static] |
Definition at line 15 of file MakeDataException.cc.
References edm::eventsetup::DataKey::name(), edm::eventsetup::heterocontainer::HCTypeTag::name(), AlCaHLTBitMon_QueryRunRegistry::string, edm::eventsetup::DataKey::type(), edm::eventsetup::EventSetupRecordKey::type(), and edm::eventsetup::SimpleStringTag::value().
{ std::string returnValue = std::string("Error while making data \"") + iDataKey.type().name() + "\" \"" + iDataKey.name().value() + "\" in Record " + iRecordKey.type().name(); return returnValue; }
std::string edm::eventsetup::MakeDataException::message_ [private] |
Definition at line 66 of file MakeDataException.h.
Referenced by myMessage().