Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/System.h"
25 std::ostringstream
os;
26 os <<
"Bad cast of DataProxy with CLID " <<
id
68 const std::string&
key,
70 const std::string& primary_key)
72 std::ostringstream
os;
73 os <<
"ExcProxyCollision: proxy collision for clid/key "
75 <<
" (primary " << primary_id <<
" / " << primary_key <<
").";
88 const std::string&
key,
90 const std::string& primary_key)
105 const std::string& old_key,
109 std::ostringstream
os;
110 os <<
"ExcSgkeyCollision: sgkey hash collision; new key: "
111 << new_key <<
"/" << new_clid <<
" and existing key: "
112 << old_key <<
"/" << old_clid <<
" both hash to " <<
sgkey;
127 const std::string& old_key,
virtual const char * what() const
Return the message for this exception.
ExcBadDataProxyCast(CLID id, const std::type_info &tid)
Constructor.
ExcSgkeyCollision(const std::string &new_key, CLID new_clid, const std::string &old_key, CLID old_clid, sgkey_t sgkey)
Constructor.
void throwExcBadDataProxyCast(const DataProxy &proxy, const std::type_info &tid)
Throw an ExcBadDataProxyCast exception.
Exception — Bad cast of DataProxy with CLID.
std::string typeinfoName(const std::type_info &ti)
Convert a type_info to a demangled string.
std::string excProxyCollision_format(CLID id, const std::string &key, CLID primary_id, const std::string &primary_key)
Helper: Format exception string.
std::string excSgkeyCollision_format(const std::string &new_key, CLID new_clid, const std::string &old_key, CLID old_clid, sgkey_t sgkey)
Helper: Format exception string.
std::string m_what
The message for this exception.
uint32_t CLID
The Class ID type.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
ExcProxyCollision(CLID id, const std::string &key, CLID primary_id, const std::string &primary_key)
Constructor.
std::string excBadDataProxyCast_format(CLID id, const std::type_info &tid)
Helper: Format exception string.