ATLAS Offline Software
Public Member Functions | List of all members
SG::ExcPointerNotInSG Class Reference

Exception — The object referenced by a DataLink / ElementLink is not registered in SG. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcPointerNotInSG:
Collaboration diagram for SG::ExcPointerNotInSG:

Public Member Functions

 ExcPointerNotInSG (const void *pointer)
 Constructor. More...
 

Detailed Description

Exception — The object referenced by a DataLink / ElementLink is not registered in SG.

You have a DataLink or ElementLink that's referencing an object directly by a pointer. You attempted an operation on the link that requires finding the object's StoreGate information (such as trying to make it persistent), but the object had not been registered in StoreGate.

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

Constructor & Destructor Documentation

◆ ExcPointerNotInSG()

SG::ExcPointerNotInSG::ExcPointerNotInSG ( const void *  pointer)

Constructor.

Parameters
pointerPointer to the object that the link is referencing.

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

43  : std::runtime_error (excPointerNotInSG_format (pointer))
44 {
46 }

The documentation for this class was generated from the following files:
SG::excPointerNotInSG_format
std::string excPointerNotInSG_format(const void *pointer)
Helper: format exception error string.
Definition: Control/AthLinks/src/exceptions.cxx:28
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21