ATLAS Offline Software
Loading...
Searching...
No Matches
SG::ExcInvalidLink Class Reference

Exception — Attempt to dereference invalid DataLink / ElementLink ". More...

#include <exceptions.h>

Inheritance diagram for SG::ExcInvalidLink:
Collaboration diagram for SG::ExcInvalidLink:

Public Member Functions

 ExcInvalidLink (CLID clid, const std::string &key, SG::sgkey_t sgkey)
 Constructor.

Detailed Description

Exception — Attempt to dereference invalid DataLink / ElementLink ".

You tried to dereference a link that either is null or for which the referenced object can not be retrieved from StoreGate.

Definition at line 76 of file Control/AthLinks/AthLinks/exceptions.h.

Constructor & Destructor Documentation

◆ ExcInvalidLink()

SG::ExcInvalidLink::ExcInvalidLink ( CLID clid,
const std::string & key,
SG::sgkey_t sgkey )

Constructor.

Parameters
clidCLID of the link.
keyString key of the link.
sgkeyHashed key of the link.

Definition at line 96 of file Control/AthLinks/src/exceptions.cxx.

99 : std::runtime_error (excInvalidLink_format (clid, key, sgkey))
100{
102}
std::string excInvalidLink_format(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Helper: format exception error string.
void AthLinks_error()
For setting debugger breakpoints.

The documentation for this class was generated from the following files: