NEST main@caf0ae8
 
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

◆ InternalError() [2/2]

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

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 what().


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