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

Exception — version mismatch for tool. More...

#include <exceptions.h>

Inheritance diagram for CaloUtils::ExcBadToolConstantVersion:
Collaboration diagram for CaloUtils::ExcBadToolConstantVersion:

Public Member Functions

 ExcBadToolConstantVersion (const std::string &toolName, const std::string &constName, unsigned int toolVersion, unsigned int constVersion)
 Constructor. More...
 

Detailed Description

Exception — version mismatch for tool.

The version of the constants read from COOL was larger than the version of the tool being used.

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

Constructor & Destructor Documentation

◆ ExcBadToolConstantVersion()

CaloUtils::ExcBadToolConstantVersion::ExcBadToolConstantVersion ( const std::string &  toolName,
const std::string &  constName,
unsigned int  toolVersion,
unsigned int  constVersion 
)

Constructor.

Parameters
toolNameName of the tool being used.
constNameName of the constant being accessed.
toolVersionVersion of the tool.
constVersionVersion of the constants read from COOL.

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

46  : std::runtime_error (excBadToolConstantVersion_format (toolName,
47  constName,
48  toolVersion,
49  constVersion))
50 {
51 }

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