ATLAS Offline Software
Loading...
Searching...
No Matches
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.

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}
void AthLinks_error()
For setting debugger breakpoints.
std::string excPointerNotInSG_format(const void *pointer)
Helper: format exception error string.

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