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

Exception — Tried to retrieve non-const pointer to const object. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcConstObject:
Collaboration diagram for SG::ExcConstObject:

Public Member Functions

 ExcConstObject (CLID clid, const std::string &sgkey, const std::string &storename)
 Constructor.

Detailed Description

Exception — Tried to retrieve non-const pointer to const object.

Definition at line 132 of file Control/StoreGate/StoreGate/exceptions.h.

Constructor & Destructor Documentation

◆ ExcConstObject()

SG::ExcConstObject::ExcConstObject ( CLID clid,
const std::string & sgkey,
const std::string & storename )

Constructor.

Parameters
clidCLID from the key.
sgkeyStoreGate key from the key.
storenameStore name from the key.

Definition at line 157 of file Control/StoreGate/src/exceptions.cxx.

160 : std::runtime_error (excConstObject_format (clid, sgkey, storename))
161{
162}
std::string excConstObject_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.

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