Thrown if object version in BLOB does not agree with class version.
More...
#include <Exception.h>
|
| virtual void | setMessage (const std::string &message) |
Thrown if object version in BLOB does not agree with class version.
Definition at line 64 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.
◆ VersionConflict()
| CaloCond::VersionConflict::VersionConflict |
( |
const std::string & | domain, |
|
|
unsigned int | version_is, |
|
|
unsigned int | version_should = 0 ) |
|
inlineexplicit |
Definition at line 66 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.
70 {
71 std::ostringstream
msg;
72 msg <<
"Blob Version conflict. Is " << version_is;
73 if(version_should){
msg <<
" but should be " << version_should; }
75 }
Exception(const std::string &domain, const std::string &message)
virtual void setMessage(const std::string &message)
virtual const std::string & domain() const
◆ ~VersionConflict()
| virtual CaloCond::VersionConflict::~VersionConflict |
( |
| ) |
|
| throw | ( | ) | | | |
|
inlinevirtual |
◆ domain()
| virtual const std::string & CaloCond::Exception::domain |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ setMessage()
| virtual void CaloCond::Exception::setMessage |
( |
const std::string & | message | ) |
|
|
inlineprotectedvirtualinherited |
◆ what()
| virtual const char * CaloCond::Exception::what |
( |
| ) |
const |
| throw | ( | ) | | | |
|
inlinevirtualinherited |
◆ m_domain
| std::string CaloCond::Exception::m_domain |
|
privateinherited |
◆ m_message
| std::string CaloCond::Exception::m_message |
|
privateinherited |
The documentation for this class was generated from the following file: