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

Exception to be thrown if a given array has the wrong size. More...

#include <exceptions.h>

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

Public Member Functions

 RangeCheck (const size_t expected_size)
 
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 a given array has the wrong size.

Constructor & Destructor Documentation

◆ RangeCheck()

nest::RangeCheck::RangeCheck ( const size_t  expected_size)
inline

Member Function Documentation

◆ exception_name()

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

Reimplemented from nest::KernelException.

◆ what()

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

References msg_.

Member Data Documentation

◆ msg_

std::string nest::RangeCheck::msg_
private

Referenced by what().


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