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

Exception — Proxy collision for clid/key. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcProxyCollision:
Collaboration diagram for SG::ExcProxyCollision:

Public Member Functions

 ExcProxyCollision (CLID id, const std::string &key, CLID primary_id, const std::string &primary_key)
 Constructor.

Detailed Description

Exception — Proxy collision for clid/key.

DataStore was attempting to fill in the CLID/key for a dummy proxy, but there was already another proxy present with that CLID/key.

This should never happen.

Definition at line 81 of file Control/SGTools/SGTools/exceptions.h.

Constructor & Destructor Documentation

◆ ExcProxyCollision()

SG::ExcProxyCollision::ExcProxyCollision ( CLID id,
const std::string & key,
CLID primary_id,
const std::string & primary_key )

Constructor.

Parameters
idCLID we're trying to set on the dummy proxy.
keyKey we're trying to set on the dummy proxy.
primary_idCLID of the existing proxy.
primary_keyKey of the existing proxy.

Definition at line 87 of file Control/SGTools/src/exceptions.cxx.

91 : std::runtime_error (excProxyCollision_format (id,
92 key,
93 primary_id,
94 primary_key))
95{
96}
std::string excProxyCollision_format(CLID id, const std::string &key, CLID primary_id, const std::string &primary_key)
Helper: Format exception string.

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