NEST main@f146f75
Loading...
Searching...
No Matches
nest::InternalError Class Reference

Exception to be thrown if an internal error occurs. More...

#include <exceptions.h>

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

Public Member Functions

 InternalError ()
 InternalError (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

Exception to be thrown if an internal error occurs.

Constructor & Destructor Documentation

◆ InternalError() [1/2]

nest::InternalError::InternalError ( )
inline
Parameters
detailederror message

References nest::KernelException::KernelException(), and msg_.

Here is the call graph for this function:

◆ InternalError() [2/2]

nest::InternalError::InternalError ( std::string msg)
inline

References nest::KernelException::KernelException().

Here is the call graph for this function:

Member Function Documentation

◆ exception_name()

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

Reimplemented from nest::KernelException.

◆ what()

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

References msg_.

Member Data Documentation

◆ msg_

std::string nest::InternalError::msg_
private

Referenced by InternalError(), and what().


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