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

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{
146}
void AthLinks_error()
For setting debugger breakpoints.
std::string excBadForwardLink_format(size_t index, size_t size, const std::string &name)
Helper: format exception error string.

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