Exception to be thrown on prototype construction if Time objects incompatible.
More...
#include <exceptions.h>
Exception to be thrown on prototype construction if Time objects incompatible.
This exception is to be thrown by the default constructor of nodes which require that Time objects have properties wrt resolution.
- See also
- InvalidTimeInModel
◆ InvalidDefaultResolution()
| nest::InvalidDefaultResolution::InvalidDefaultResolution |
( |
const std::string & |
model, |
|
|
const std::string & |
property, |
|
|
const Time & |
value |
|
) |
| |
|
inline |
- Note
- model should be passed from get_name() to ensure that names of copied models are reported correctly.
- Parameters
-
| model | name of model causing problem |
| property | name of property conflicting |
| value | value of property conflicting |
References nest::Time::get_resolution(), and msg_.
◆ exception_name()
| std::string nest::InvalidDefaultResolution::exception_name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ what()
| const char * nest::InvalidDefaultResolution::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ msg_
| std::string nest::InvalidDefaultResolution::msg_ |
|
private |
The documentation for this class was generated from the following file: