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

Exception to be thrown if when trying to delete an entry from DynamicRecordablesMap that does not exist. More...

#include <exceptions.h>

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

Public Member Functions

 KeyError (const std::string &key, const std::string &map_type, const std::string &map_op)
 
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 when trying to delete an entry from DynamicRecordablesMap that does not exist.

Constructor & Destructor Documentation

◆ KeyError()

nest::KeyError::KeyError ( const std::string &  key,
const std::string &  map_type,
const std::string &  map_op 
)
inline

References msg_.

Member Function Documentation

◆ exception_name()

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

Reimplemented from nest::KernelException.

◆ what()

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

References msg_.

Member Data Documentation

◆ msg_

std::string nest::KeyError::msg_
private

Referenced by KeyError(), and what().


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