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

Exception — ForwardIndexingPolicy: internal link state is invalid. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcBadForwardLink:
Collaboration diagram for SG::ExcBadForwardLink:

Public Member Functions

 ExcBadForwardLink (size_t index, size_t size, const std::string &name)
 Constructor. More...
 

Detailed Description

Exception — ForwardIndexingPolicy: internal link state is invalid.

You tried to dereference a link to a container described by ForwardIndexingPolicy (a vector or similar), but the index was outside of the range of the container.

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

Constructor & Destructor Documentation

◆ ExcBadForwardLink()

SG::ExcBadForwardLink::ExcBadForwardLink ( size_t  index,
size_t  size,
const std::string &  name 
)

Constructor.

Parameters
indexIndex in the link.
sizeSize of the referenced container.
nameType name of the container.

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

143  : std::runtime_error (excBadForwardLink_format (index, size, name))
144 {
145  AthLinks_error();
146 }

The documentation for this class was generated from the following files:
index
Definition: index.py:1
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SG::excBadForwardLink_format
std::string excBadForwardLink_format(size_t index, size_t size, const std::string &name)
Helper: format exception error string.
Definition: Control/AthLinks/src/exceptions.cxx:122