ATLAS Offline Software
Public Member Functions | List of all members
CaloUtils::ExcBadContextlessRetrieve Class Reference

Exception — Bad contextless retrieve. More...

#include <exceptions.h>

Inheritance diagram for CaloUtils::ExcBadContextlessRetrieve:
Collaboration diagram for CaloUtils::ExcBadContextlessRetrieve:

Public Member Functions

 ExcBadContextlessRetrieve (const std::string &toolName, const std::string &constName)
 Constructor. More...
 

Detailed Description

Exception — Bad contextless retrieve.

The Constant::operator() overload that does not take a Context argument may be used only for constants that were initialzed from job options.

Definition at line 92 of file Calorimeter/CaloUtils/CaloUtils/exceptions.h.

Constructor & Destructor Documentation

◆ ExcBadContextlessRetrieve()

CaloUtils::ExcBadContextlessRetrieve::ExcBadContextlessRetrieve ( const std::string &  toolName,
const std::string &  constName 
)

Constructor.

Parameters
toolNameName of the tool being used.
constNameName of the constant being retrieved.

Definition at line 129 of file Calorimeter/CaloUtils/src/exceptions.cxx.

132  : std::runtime_error (excBadContextlessRetrieve_format (toolName,
133  constName))
134 {
135 }

The documentation for this class was generated from the following files:
CaloUtils::excBadContextlessRetrieve_format
std::string excBadContextlessRetrieve_format(const std::string &toolName, const std::string &constName)
Helper: Format exception string.
Definition: Calorimeter/CaloUtils/src/exceptions.cxx:114