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

To be thrown if a connection is not possible. More...

#include <exceptions.h>

Inheritance diagram for nest::IllegalConnection:
nest::KernelException SLIException

Public Member Functions

 IllegalConnection ()
 
 IllegalConnection (std::string msg)
 
 ~IllegalConnection () 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

To be thrown if a connection is not possible.

This exception is e.g. thrown if a connection was attempted with an unsupported Event type.

Constructor & Destructor Documentation

nest::IllegalConnection::IllegalConnection ( )
inline
nest::IllegalConnection::IllegalConnection ( std::string  msg)
inline
nest::IllegalConnection::~IllegalConnection ( )
throw (
)
inline

Member Function Documentation

std::string nest::IllegalConnection::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.

Referenced by nest::Network::convergent_connect(), and nest::Network::divergent_connect().

Member Data Documentation

std::string nest::IllegalConnection::msg_
private

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