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

Exception — incomparable ElementLink. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcIncomparableEL:
Collaboration diagram for SG::ExcIncomparableEL:

Public Member Functions

 ExcIncomparableEL ()
 Constructor. More...
 

Detailed Description

Exception — incomparable ElementLink.

In order to comare two ElementLink instances, both must have available both the StoreGate key of the container and the index within the container. If only a pointer to the element is available, then the link cannot be compared. (This is to avoid the results of comparisons possibly changing.)

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

Constructor & Destructor Documentation

◆ ExcIncomparableEL()

SG::ExcIncomparableEL::ExcIncomparableEL ( )

Constructor.

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

241  : std::runtime_error ("SG::ExcIncomparableEL: Attempt to compare an ElementLink that does not have a SG key or index.")
242 {
243  AthLinks_error();
244 }

The documentation for this class was generated from the following files:
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21