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
static std::string standardMessage(const EventSetupRecordKey &, const DataKey &)
void append(Exception const &another)
Definition: Exception.cc:157
const char * myMessage() const noexcept
const TypeTag & type() const
Definition: DataKey.h:52
Namespace of DDCMS conversion namespace.
HLT enums.
MakeDataException(const EventSetupRecordKey &, const DataKey &)
const NameTag & name() const
Definition: DataKey.h:53
const char * value() const
Definition: DataKeyTags.h:39