|
ATLAS Offline Software
|
Go to the documentation of this file.
21 const std::string& constName,
22 unsigned int toolVersion,
23 unsigned int constVersion)
25 std::ostringstream
os;
26 os <<
"ExcBadToolConstantVersion: version mismatch for tool " << toolName
27 <<
" constant " << constName
28 <<
" constant version " << constVersion
29 <<
" is larger than tool version " << toolVersion;
42 (
const std::string& toolName,
43 const std::string& constName,
44 unsigned int toolVersion,
45 unsigned int constVersion)
59 const std::string& constName)
61 std::ostringstream
os;
62 os <<
"ExcConstantNotSet: constant " << constName <<
" in tool " << toolName
74 (
const std::string& toolName,
75 const std::string& constName)
87 const std::string& constName)
89 std::ostringstream
os;
90 os <<
"ExcConstantReset: constant " << constName <<
" in tool " << toolName
91 <<
" set more than once.";
102 (
const std::string& toolName,
103 const std::string& constName)
115 const std::string& constName)
117 std::ostringstream
os;
118 os <<
"ExcBadContextlessRetrieve: constant " << constName <<
" in tool " << toolName
119 <<
" bad contextless retrieve.";
130 (
const std::string& toolName,
131 const std::string& constName)
145 const std::string& constName)
Exceptions that can be thrown from CaloUtils.
std::string excConstantReset_format(const std::string &toolName, const std::string &constName)
Helper: Format exception string.
ExcBadContextlessRetrieve(const std::string &toolName, const std::string &constName)
Constructor.
std::string excConstantNotSet_format(const std::string &toolName, const std::string &constName)
Helper: Format exception string.
Exception — Bad contextless retrieve.
ExcConstantReset(const std::string &toolName, const std::string &constName)
Constructor.
std::string excBadContextlessRetrieve_format(const std::string &toolName, const std::string &constName)
Helper: Format exception string.
std::string excBadToolConstantVersion_format(const std::string &toolName, const std::string &constName, unsigned int toolVersion, unsigned int constVersion)
Helper: Format exception string.
void throwExcBadContextlessRetrieve(const std::string &toolName, const std::string &constName)
Throw a CaloUtils::ExcBadContextlessRetrieve exception.
ExcConstantNotSet(const std::string &toolName, const std::string &constName)
Constructor.