|
HermesCommon 1.0
|
Numeric value is out of allowed range. More...
#include <exceptions.h>
Public Member Functions | |
| ValueException (const char *name, double value, double allowed) | |
| ValueException (const char *name, double value, double min, double max) | |
| ValueException (const char *name, std::string passed) | |
| String value is not supported. | |
| double | get_value () const |
| double | get_allowed () const |
| return allowed value of variable. | |
| ValueException (const ValueException &e) | |
| virtual Exception * | clone () |
Numeric value is out of allowed range.
Definition at line 123 of file exceptions.h.
| Hermes::Exceptions::ValueException::ValueException | ( | const char * | name, |
| double | value, | ||
| double | allowed | ||
| ) |
Value is greather or lower than allowed.
| [in] | name | name of variable |
| [in] | value | value of variable |
| [in] | allowed | allowed value (maximum or minimum) |
Definition at line 196 of file exceptions.cpp.
| Hermes::Exceptions::ValueException::ValueException | ( | const char * | name, |
| double | value, | ||
| double | min, | ||
| double | max | ||
| ) |
Value is out of range.
| [in] | name | name of variable. |
| [in] | value | value of variable. |
| [in] | min | minimum allowed value. |
| [in] | max | minimum allowed value. |
Definition at line 208 of file exceptions.cpp.
| double Hermes::Exceptions::ValueException::get_value | ( | ) | const |
Definition at line 227 of file exceptions.cpp.
1.7.4