NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::StepMultipleRequired Class Reference

Exception to be thrown if a Time object should be multiple of the resolution. More...

#include <exceptions.h>

Inheritance diagram for nest::StepMultipleRequired:
[legend]
Collaboration diagram for nest::StepMultipleRequired:
[legend]

Public Member Functions

 StepMultipleRequired (const std::string &model, const std::string &property, const Time &value)
 
const char * what () const noexcept override
 
std::string exception_name () const override
 
- Public Member Functions inherited from nest::KernelException
 KernelException ()
 
 KernelException (const std::string &msg)
 

Private Attributes

std::string msg_
 

Detailed Description

Exception to be thrown if a Time object should be multiple of the resolution.

See also
TimeMultipleRequired

Constructor & Destructor Documentation

◆ StepMultipleRequired()

nest::StepMultipleRequired::StepMultipleRequired ( 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
modelname of model causing problem
propertyname of property conflicting
valuevalue of property conflicting

References nest::Time::get_resolution(), and msg_.

Here is the call graph for this function:

Member Function Documentation

◆ exception_name()

std::string nest::StepMultipleRequired::exception_name ( ) const
inlineoverridevirtual

Reimplemented from nest::KernelException.

◆ what()

const char * nest::StepMultipleRequired::what ( ) const
inlineoverridenoexcept

References msg_.

Member Data Documentation

◆ msg_

std::string nest::StepMultipleRequired::msg_
private

Referenced by StepMultipleRequired(), and what().


The documentation for this class was generated from the following file: