CMS 3D CMS Logo

MakeDataException.cc
Go to the documentation of this file.
2 
3 // forward declarations
4 namespace edm {
5  namespace eventsetup {
6 
8  : cms::Exception("MakeDataException"), message_(standardMessage(iRecordKey, iDataKey)) {
9  this->append(myMessage());
10  }
11 
12  // ---------- static member functions --------------------
14  std::string returnValue = std::string("Error while making data \"") + iDataKey.type().name() + "\" \"" +
15  iDataKey.name().value() + "\" in Record " + iRecordKey.type().name();
16  return returnValue;
17  }
18 
19  } // namespace eventsetup
20 } // namespace edm
edm
HLT enums.
Definition: AlignableModifier.h:19
MakeDataException.h
edm::eventsetup::DataKey
Definition: DataKey.h:29
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
edm::Exception
Definition: EDMException.h:77
edm::eventsetup::MakeDataException::MakeDataException
MakeDataException(const EventSetupRecordKey &, const DataKey &)
Definition: MakeDataException.cc:7
edm::eventsetup::DataKey::name
const NameTag & name() const
Definition: DataKey.h:53
edm::eventsetup::SimpleStringTag::value
const char * value() const
Definition: DataKeyTags.h:39
cms::Exception::append
void append(Exception const &another)
Definition: Exception.cc:153
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::eventsetup::EventSetupRecordKey::type
const TypeTag & type() const
Definition: EventSetupRecordKey.h:40
edm::eventsetup::heterocontainer::HCTypeTag::name
char const * name() const
Definition: HCTypeTag.h:46
edm::eventsetup::MakeDataException::myMessage
const char * myMessage() const noexcept
Definition: MakeDataException.h:51
edm::eventsetup::MakeDataException::standardMessage
static std::string standardMessage(const EventSetupRecordKey &, const DataKey &)
Definition: MakeDataException.cc:13
edm::eventsetup::DataKey::type
const TypeTag & type() const
Definition: DataKey.h:52
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21