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

Exception to be thrown if a (neuron/synapse) model with the the specified ID is used within the network and the providing module hence cannot be uninstalled. More...

#include <exceptions.h>

Inheritance diagram for nest::ModelInUse:
nest::KernelException SLIException

Public Member Functions

 ModelInUse (const std::string &modelname)
 
 ~ModelInUse () 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

const std::string modelname_
 

Detailed Description

Exception to be thrown if a (neuron/synapse) model with the the specified ID is used within the network and the providing module hence cannot be uninstalled.

This exception can occur if the user tries to uninstall a module.

See also
UnknownModelID

Constructor & Destructor Documentation

nest::ModelInUse::ModelInUse ( const std::string &  modelname)
inline
nest::ModelInUse::~ModelInUse ( )
throw (
)
inline

Member Function Documentation

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

const std::string nest::ModelInUse::modelname_
private

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