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

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 }

The documentation for this class was generated from the following files:
SG::excBadContext_format
std::string excBadContext_format(const EventContext &ctx, const std::string &key)
Helper: format exception error string.
Definition: Control/StoreGate/src/exceptions.cxx:373
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37