NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
nest::BadParameter Class Reference

Exception to be thrown if a parameter cannot be set. More...

#include <exceptions.h>

Inheritance diagram for nest::BadParameter:
nest::KernelException SLIException

Public Member Functions

 BadParameter ()
 
 BadParameter (std::string msg)
 
 ~BadParameter () throw ()
 
std::string message ()
 Returns a diagnostic message or empty string. More...
 
- Public Member Functions inherited from nest::KernelException
 KernelException ()
 
 KernelException (char const *const what)
 
virtual ~KernelException () throw ()
 
- Public Member Functions inherited from SLIException
 SLIException (char const *const what)
 
virtual ~SLIException () throw ()
 
virtual const char * what () const throw ()
 Returns the SLI error name, used by raiseerror. More...
 

Private Attributes

std::string msg_
 

Detailed Description

Exception to be thrown if a parameter cannot be set.

Thrown by Node::set_/get_property methods.

Constructor & Destructor Documentation

nest::BadParameter::BadParameter ( )
inline
Parameters
detailederror message
nest::BadParameter::BadParameter ( std::string  msg)
inline
nest::BadParameter::~BadParameter ( )
throw (
)
inline

Member Function Documentation

std::string nest::BadParameter::message ( )
virtual

Returns a diagnostic message or empty string.

This function is not const, because it may clear internal data fields.

Reimplemented from nest::KernelException.

Member Data Documentation

std::string nest::BadParameter::msg_
private

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