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

◆ TypeMismatch() [2/3]

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

◆ TypeMismatch() [3/3]

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

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: