Out of range exception class.
More...
#include <Bpp/Exceptions.h>
Out of range exception class.
Definition at line 363 of file Exceptions.h.
◆ OutOfRangeException()
OutOfRangeException::OutOfRangeException |
( |
const std::string & |
text, |
|
|
double |
badValue, |
|
|
double |
lowerBound, |
|
|
double |
upperBound |
|
) |
| |
Build a new OutOfRangeException.
- Parameters
-
text | A message to be passed to the exception hierarchy. |
badValue | The faulty value. |
lowerBound | Lower limit. |
upperBound | Upper limit. |
Definition at line 103 of file Exceptions.cpp.
◆ ~OutOfRangeException()
virtual bpp::OutOfRangeException::~OutOfRangeException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
◆ getLowerBound()
double bpp::OutOfRangeException::getLowerBound |
( |
| ) |
const |
|
inline |
◆ getUpperBound()
double bpp::OutOfRangeException::getUpperBound |
( |
| ) |
const |
|
inline |
◆ what()
const char* bpp::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineinherited |
Method to get the message of the exception (STL method redefinition).
- Returns
- The message passed to the exception hierarchy.
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
◆ lowerBound_
double bpp::OutOfRangeException::lowerBound_ |
|
protected |
◆ message_
std::string bpp::Exception::message_ |
|
protectedinherited |
◆ upperBound_
double bpp::OutOfRangeException::upperBound_ |
|
protected |
The documentation for this class was generated from the following files: