|
ATLAS Offline Software
|
Go to the documentation of this file.
30 std::ostringstream
os;
31 os <<
"SG::ExcPointerNotInSG: "
32 <<
"The object referenced by a DataLink / ElementLink is not registered "
33 <<
"in StoreGate: " << pointer <<
".";
55 std::ostringstream
os;
56 os <<
"SG::ExcCLIDMismatch: "
57 <<
"Attempt to set DataLink / ElementLink with CLID " << link_clid
58 <<
" to object with CLID " << obj_clid;
82 std::ostringstream
os;
83 os <<
"SG::ExcInvalidLink: "
84 <<
"Attempt to dereference invalid DataLink / ElementLink "
85 <<
"[" << clid <<
"/" <<
key <<
"] (" <<
sgkey <<
")";
97 const std::string&
key,
124 std::ostringstream
os;
125 os <<
"SG::ExcBadForwardLink: "
126 <<
"ForwardIndexingPolicy: internal link state of '" <<
name <<
"' is invalid";
127 if (
index !=
static_cast<size_t>(-1)) {
129 <<
" is >= data container size = "
130 <<
size << std::ends;
169 : std::runtime_error (
"SG::ExcElementNotFound: " +
where +
170 ": element not found")
194 : std::runtime_error (
"SG::ExcInvalidIndex: " +
where +
": invalid index")
218 : std::runtime_error (
"SG::ExcIndexNotFound: " +
where +
": index not found")
241 : std::runtime_error (
"SG::ExcIncomparableEL: Attempt to compare an ElementLink that does not have a SG key or index.")
263 : std::runtime_error (
"SG::ExcBadToTransient: toTransient() called on an already-initialized link.")
285 std::ostringstream
os;
286 os <<
"SG::ExcConstStorable: "
287 <<
"Tried to retrieve const storable as a non-const pointer "
288 <<
"[" << clid <<
"/" <<
key <<
"] (" <<
sgkey <<
")";
300 const std::string&
key,
315 std::ostringstream
os;
316 os <<
"SG::ExcBadThinning: "
317 <<
"Bad thinning request "
318 <<
"[" << clid <<
"/" <<
key <<
"] (" <<
sgkey <<
")";
330 const std::string&
key,
345 const std::string&
key,
ExcPointerNotInSG(const void *pointer)
Constructor.
Exception — bad toTransient.
Exception — index not found.
std::string excBadThinning_format(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Helper: format exception error string.
void throwExcElementNotFound(const char *where)
Throw a SG::ExcElementNotFound exception.
std::string excConstStorable_format(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Helper: format exception error string.
std::string excCLIDMismatch_format(CLID obj_clid, CLID link_clid)
Helper: format exception error string.
void throwExcInvalidIndex(const char *where)
Throw a SG::ExcInvalidIndex exception.
std::string excPointerNotInSG_format(const void *pointer)
Helper: format exception error string.
void throwExcBadThinning(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Throw a SG::ExcBadThinning exception.
ExcCLIDMismatch(CLID obj_clid, CLID link_clid)
Constructor.
void throwExcBadToTransient()
Throw a SG::ExcBadToTransient exception.
Exception — invalid index.
ExcBadToTransient()
Constructor.
void throwExcInvalidLink(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Throw a SG::ExcInvalidLink exception.
ExcInvalidLink(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Constructor.
ExcIncomparableEL()
Constructor.
std::string excInvalidLink_format(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Helper: format exception error string.
Exception — ForwardIndexingPolicy: internal link state is invalid.
Exception — element not found.
void throwExcBadForwardLink(size_t index, size_t size, const std::string &name)
Throw a SG::ExcBadForwardLink exception.
ExcBadForwardLink(size_t index, size_t size, const std::string &name)
Constructor.
ExcBadThinning(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Constructor.
ExcInvalidIndex(const std::string &where)
Constructor.
uint32_t CLID
The Class ID type.
void AthLinks_error()
For setting debugger breakpoints.
ExcElementNotFound(const std::string &where)
Constructor.
Exception – Bad thinning request.
void throwExcIncomparableEL()
Throw a SG::IncomparableEL exception.
Exception — Attempt to dereference invalid DataLink / ElementLink ".
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
void throwExcIndexNotFound(const char *where)
Throw a SG::ExcIndexNotFound exception.
Exceptions that can be thrown from AthLinks.
std::string excBadForwardLink_format(size_t index, size_t size, const std::string &name)
Helper: format exception error string.
Exception — incomparable ElementLink.
ExcIndexNotFound(const std::string &where)
Constructor.
ExcConstStorable(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Constructor.