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

Throw if an existing name is attempted to be redefined. More...

#include <sliexceptions.h>

Inheritance diagram for NamingConflict:
SLIException

Public Member Functions

 ~NamingConflict () throw ()
 
 NamingConflict (const std::string &m)
 
std::string message ()
 Returns a diagnostic message or empty string. More...
 
- 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

Throw if an existing name is attempted to be redefined.

This is relevant mainly when a newly loaded module attempts to redefine a model, synapse or function name.

Constructor & Destructor Documentation

NamingConflict::~NamingConflict ( )
throw (
)
inline
NamingConflict::NamingConflict ( const std::string &  m)
inline

Member Function Documentation

std::string NamingConflict::message ( )
virtual

Returns a diagnostic message or empty string.

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

Implements SLIException.

References msg_.

Member Data Documentation

std::string NamingConflict::msg_
private

Referenced by message().


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