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

Exception — element not found. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcElementNotFound:
Collaboration diagram for SG::ExcElementNotFound:

Public Member Functions

 ExcElementNotFound (const std::string &where)
 Constructor. More...
 

Detailed Description

Exception — element not found.

You had an ElementLink initialized with a pointer to the element directly. Some operation requires the index of the element within its container, but the element is not present in the container.

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

Constructor & Destructor Documentation

◆ ExcElementNotFound()

SG::ExcElementNotFound::ExcElementNotFound ( const std::string &  where)

Constructor.

Parameters
whereThe operation being attempted.

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

169  : std::runtime_error ("SG::ExcElementNotFound: " + where +
170  ": element not found")
171 {
172  AthLinks_error();
173 }

The documentation for this class was generated from the following files:
python.Utils.unixtools.where
def where(filename, prepath=[])
"which" for python files -------------------------------------------------—
Definition: unixtools.py:53
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21