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

Exception — constant set more than once. More...

#include <exceptions.h>

Inheritance diagram for CaloUtils::ExcConstantReset:
Collaboration diagram for CaloUtils::ExcConstantReset:

Public Member Functions

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

Detailed Description

Exception — constant set more than once.

A constant should only be set once from JO.

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

Constructor & Destructor Documentation

◆ ExcConstantReset()

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

Constructor.

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

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

104  : std::runtime_error (excConstantReset_format (toolName,
105  constName))
106 {
107 }

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