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

Exception to be thrown if a given type does not match the expected type. More...

#include <exceptions.h>

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

Public Member Functions

 TypeMismatch ()
 TypeMismatch (const std::string &expected)
 TypeMismatch (const std::string &expected, const std::string &provided)
std::string exception_name () const override
Public Member Functions inherited from nest::KernelException
 KernelException ()
 KernelException (const std::string &msg)

Detailed Description

Exception to be thrown if a given type does not match the expected type.

Constructor & Destructor Documentation

◆ TypeMismatch() [1/3]

nest::TypeMismatch::TypeMismatch ( )
inlineexplicit

References nest::KernelException::KernelException().

Here is the call graph for this function:

◆ TypeMismatch() [2/3]

nest::TypeMismatch::TypeMismatch ( const std::string & expected)
inlineexplicit

References nest::KernelException::KernelException().

Here is the call graph for this function:

◆ TypeMismatch() [3/3]

nest::TypeMismatch::TypeMismatch ( const std::string & expected,
const std::string & provided )
inlineexplicit

References nest::KernelException::KernelException().

Here is the call graph for this function:

Member Function Documentation

◆ exception_name()

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

Reimplemented from nest::KernelException.


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