ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 

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 {
101  AthLinks_error();
102 }

The documentation for this class was generated from the following files:
common.sgkey
def sgkey(tool)
Definition: common.py:1028
SG::excInvalidLink_format
std::string excInvalidLink_format(CLID clid, const std::string &key, SG::sgkey_t sgkey)
Helper: format exception error string.
Definition: Control/AthLinks/src/exceptions.cxx:80
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37