Throw if an existing name is attempted to be redefined. More...
#include <exceptions.h>
Public Member Functions | |
| NamingConflict (const std::string &msg) | |
| 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_ |
Throw if an existing name is attempted to be redefined.
This is relevant mainly when a newly loaded module attempts to redefine a model, synapse or function name.
|
inline |
References nest::KernelException::KernelException(), and msg_.
|
inlineoverridevirtual |
Reimplemented from nest::KernelException.
|
inlineoverridenoexcept |
References msg_.
|
private |
Referenced by NamingConflict(), and what().