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

To be thrown if a connection does not exists but something is to be done with it. More...

#include <exceptions.h>

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

Public Member Functions

 InexistentConnection ()
 
 InexistentConnection (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_
 

Detailed Description

To be thrown if a connection does not exists but something is to be done with it.

This exception is e.g. thrown if a deletion was attempted with an inexistent connection.

Constructor & Destructor Documentation

◆ InexistentConnection() [1/2]

nest::InexistentConnection::InexistentConnection ( )
inline

References msg_.

◆ InexistentConnection() [2/2]

nest::InexistentConnection::InexistentConnection ( const std::string &  msg)
inline

References msg_.

Member Function Documentation

◆ exception_name()

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

Reimplemented from nest::KernelException.

◆ what()

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

References msg_.

Member Data Documentation

◆ msg_

std::string nest::InexistentConnection::msg_
private

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