Thrown if an index is out of range.
More...
#include <Exception.h>
|
| virtual void | setMessage (const std::string &message) |
Thrown if an index is out of range.
Definition at line 124 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.
◆ IndexOutOfRange()
| CaloCond::IndexOutOfRange::IndexOutOfRange |
( |
const std::string & | domain, |
|
|
unsigned int | idx, |
|
|
unsigned int | maxRange = 0 ) |
|
inlineexplicit |
Definition at line 126 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.
130 {
131 std::ostringstream
msg;
132 msg <<
"Index out of range: " <<
idx;
133 if(maxRange>0){
134 msg <<
" >= " << maxRange;
135 }
137 }
Exception(const std::string &domain, const std::string &message)
virtual void setMessage(const std::string &message)
virtual const std::string & domain() const
◆ ~IndexOutOfRange()
| virtual CaloCond::IndexOutOfRange::~IndexOutOfRange |
( |
| ) |
|
| 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: