ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 

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 }

The documentation for this class was generated from the following files:
common.sgkey
def sgkey(tool)
Definition: common.py:1028
SG::excConstObject_format
std::string excConstObject_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
Definition: Control/StoreGate/src/exceptions.cxx:138