ATLAS Offline Software
Loading...
Searching...
No Matches
SG::ExcFlagMismatch Class Reference

Exception — Flag mismatch for aux variable. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcFlagMismatch:
Collaboration diagram for SG::ExcFlagMismatch:

Public Member Functions

 ExcFlagMismatch (SG::auxid_t auxid, const std::type_info &type, SG::AuxVarFlags existing_flags, SG::AuxVarFlags requested_flags)
 Constructor.

Detailed Description

Exception — Flag mismatch for aux variable.

Could occur due to not using AtomicDecorator to access an atomic variable.

Definition at line 374 of file Control/AthContainers/AthContainers/exceptions.h.

Constructor & Destructor Documentation

◆ ExcFlagMismatch()

SG::ExcFlagMismatch::ExcFlagMismatch ( SG::auxid_t auxid,
const std::type_info & type,
SG::AuxVarFlags existing_flags,
SG::AuxVarFlags requested_flags )

Constructor.

Parameters
auxidID of the requested aux data item.
new_typeType of the item.
existing_flagsExisting flags for the variable.
requested_flagsRequested flags for the variable.

Definition at line 508 of file Control/AthContainers/Root/exceptions.cxx.

512 : std::runtime_error (excFlagMismatch_format (auxid, type, existing_flags, requested_flags))
513{
514}
std::string excFlagMismatch_format(SG::auxid_t auxid, const std::type_info &type, SG::AuxVarFlags existing_flags, SG::AuxVarFlags requested_flags)
Helper: format exception error string.

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