|
ATLAS Offline Software
|
Go to the documentation of this file.
23 : std::runtime_error (
"SG::ExcNullHandleKey: Attempt to dereference a Read/Write/UpdateHandle with a null key.")
46 : std::runtime_error (
"SG::ExcBadHandleKey: Bad key format for VarHandleKey: `" +
key +
"'")
59 : std::runtime_error (
"SG::ExcForbiddenMethod: Forbidden method called: `" +
name +
"'")
69 const std::string&
sgkey,
70 const std::string& storename)
73 std::ostringstream
os;
74 os <<
"SG::ExcHandleInitError: "
75 <<
"Error initializing VarHandle from VarHandleKey: "
76 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
88 const std::string&
sgkey,
89 const std::string& storename)
100 const std::string&
sgkey,
101 const std::string& storename,
102 const std::string& holdername,
103 const std::string&
htype)
106 std::ostringstream
os;
107 os <<
"SG::ExcUninitKey: "
108 <<
"Error initializing " <<
htype <<
" from uninitialized " <<
htype <<
"Key: "
109 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]; "
110 <<
"keys should be initialized in your initialize().";
111 if ( holdername.size() )
os <<
" Key held by " << holdername <<
".";
125 const std::string&
sgkey,
126 const std::string& storename,
127 const std::string& holdername ,
128 const std::string&
htype )
139 const std::string&
sgkey,
140 const std::string& storename)
143 std::ostringstream
os;
144 os <<
"SG::ExcConstObject: "
145 <<
"Tried to retrieve non-const pointer to const object via VarHandleKey: "
146 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
158 const std::string&
sgkey,
159 const std::string& storename)
170 const std::string&
sgkey,
171 const std::string& storename)
174 std::ostringstream
os;
175 os <<
"SG::ExcNullWriteHandle: "
176 <<
"Attempt to dereference write handle before record: "
177 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
189 const std::string&
sgkey,
190 const std::string& storename)
203 const std::string&
sgkey,
204 const std::string& storename)
215 const std::string&
sgkey,
216 const std::string& storename)
219 std::ostringstream
os;
220 os <<
"SG::ExcNullReadHandle: "
221 <<
"Dereference of read handle failed: "
222 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
234 const std::string&
sgkey,
235 const std::string& storename)
248 const std::string&
sgkey,
249 const std::string& storename)
260 const std::string&
sgkey,
261 const std::string& storename)
264 std::ostringstream
os;
265 os <<
"SG::ExcNullUpdateHandle: "
266 <<
"Dereference of update handle failed: "
267 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
279 const std::string&
sgkey,
280 const std::string& storename)
293 const std::string&
sgkey,
294 const std::string& storename)
305 const std::string&
sgkey,
306 const std::string& storename)
309 std::ostringstream
os;
310 os <<
"SG::ExcNonConstHandleKey: "
311 <<
"Attempt to get non-const VarHandleKey from non-owning VarHandle: "
312 << storename <<
"+" <<
sgkey <<
"[" << clid <<
"]";
324 const std::string&
sgkey,
325 const std::string& storename)
338 const std::string&
sgkey,
339 const std::string& storename)
352 : std::runtime_error (
"SG::ExcInvalidIterator: Attempt to dereference invalid SG::Iterator/SG::ConstIterator")
364 : std::runtime_error (
"Initialization of InitializedReadHandleKey failed.")
374 const std::string&
key)
377 std::ostringstream
os;
378 os <<
"SG::ExcBadContext: Bad EventContext extension while building ReadCondHandle. "
379 <<
"The EventContext extension is not "
380 << (ctx.hasExtension() ?
"of type Atlas::ExtendedEventContext" :
"set")
381 <<
" for key " <<
key <<
".";
402 const std::string& why)
405 std::ostringstream
os;
406 os <<
"SG::ExcNoCondCont: Can't retrieve CondCont from ReadCondHandle for key "
407 <<
key <<
". " << why;
430 : std::runtime_error (
"SG::ExcBadReadCondHandleInit: ReadCondHandle didn't initialize in getRange().")
442 : std::runtime_error (
"SG::ExcBadReadCondHandleInit: Range not set in ReadCondHandle::getRange().")
453 const std::string& decorKey)
455 std::ostringstream
os;
456 os <<
"SG::ExcBadDecorElement: ";
463 os <<
"DecorHandle " << decorKey
464 <<
"[" << clid <<
"]"
465 <<
" given an element not in the requested container.";
478 const std::string& decorKey)
490 const std::string& decorKey)
Exception — Attempt to dereference a Read/Write/UpdateHandle with a null key.
ExcNullUpdateHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
Exception — DecorHandle given an element not in the requested container.
void throwExcNullWriteHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Throw a SG::ExcNullWriteHandle exception.
std::string excNullWriteHandle_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
ExcConstObject(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
ExcHandleInitError(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
ExcBadHandleKey(const std::string &key)
Constructor.
ExcBadInitializedReadHandleKey()
Constructor.
Exception — Deference of read handle failed.
std::string excBadContext_format(const EventContext &ctx, const std::string &key)
Helper: format exception error string.
ExcNullWriteHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
ExcBadContext(const EventContext &ctx, const std::string &key)
Constructor.
ExcNonConstHandleKey(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
std::string excHandleInitError_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
std::string excConstObject_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
Exceptions that can be thrown from StoreGate.
Exception — Attempt to get non-const VarHandleKey from non-owning VarHandle.
void throwExcNullUpdateHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Throw a SG::ExcNullUpdateHandle exception.
std::string excBadDecorElement_format(Gaudi::DataHandle::Mode mode, CLID clid, const std::string &decorKey)
Helper: format exception error string.
void throwExcNullHandleKey()
Throw a SG::ExcNullHandleKey exception.
ExcForbiddenMethod(const std::string &name)
Constructor.
ExcNoCondCont(const std::string &key, const std::string &why)
Constructor.
ExcNullHandleKey()
Constructor.
uint32_t CLID
The Class ID type.
ExcBadDecorElement(Gaudi::DataHandle::Mode mode, CLID clid, const std::string &decorKey)
Constructor.
void throwExcNullReadHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Throw a SG::ExcNullReadHandle exception.
ExcNullReadHandle(CLID clid, const std::string &sgkey, const std::string &storename)
Constructor.
std::string excNullUpdateHandle_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
void throwExcNonConstHandleKey(CLID clid, const std::string &sgkey, const std::string &storename)
Throw a SG::ExcNonConstHandleKey exception.
std::string excNullReadHandle_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
std::string excNoCondCont_format(const std::string &key, const std::string &why)
Helper: format exception error string.
std::string excUninitKey_format(CLID clid, const std::string &sgkey, const std::string &storename, const std::string &holdername, const std::string &htype)
Helper: format exception error string.
ExcBadReadCondHandleInit()
Constructor.
ExcInvalidIterator()
Constructor.
void throwExcBadDecorElement(Gaudi::DataHandle::Mode mode, CLID clid, const std::string &decorKey)
Throw a SG::ExcBadDecorElement exception.
ExcUninitKey(CLID clid, const std::string &sgkey, const std::string &storename, const std::string &holdername="", const std::string &htype="VarHandle")
Constructor.
Exception — Attempt to dereference write handle before record.
std::string excNonConstHandleKey_format(CLID clid, const std::string &sgkey, const std::string &storename)
Helper: format exception error string.
Exception — Deference of update handle failed.