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

Exception — Bad EventContext extension while building ReadCondHandle. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcBadContext:
Collaboration diagram for SG::ExcBadContext:

Public Member Functions

 ExcBadContext (const EventContext &ctx, const std::string &key)
 Constructor.

Detailed Description

Exception — Bad EventContext extension while building ReadCondHandle.

The EventContext was not set or is of the wrong type.

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

Constructor & Destructor Documentation

◆ ExcBadContext()

SG::ExcBadContext::ExcBadContext ( const EventContext & ctx,
const std::string & key )

Constructor.

Parameters
ctxThe bad EventContext.
keyThe key of the handle being built.

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

392 : std::runtime_error (excBadContext_format (ctx, key))
393{
394}
std::string excBadContext_format(const EventContext &ctx, const std::string &key)
Helper: format exception error string.

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