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

Exception to be thrown if the user tries to map a channel that exceeds the width of the MUSIC port. More...

#include <exceptions.h>

Inheritance diagram for nest::MUSICChannelUnknown:
nest::KernelException SLIException

Public Member Functions

 MUSICChannelUnknown (const std::string &model, const std::string &portname, int channel)
 
 ~MUSICChannelUnknown () 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 portname_
 
const int channel_
 
const std::string model_
 

Detailed Description

Exception to be thrown if the user tries to map a channel that exceeds the width of the MUSIC port.

Constructor & Destructor Documentation

nest::MUSICChannelUnknown::MUSICChannelUnknown ( const std::string &  model,
const std::string &  portname,
int  channel 
)
inline
Note
model should be passed from get_name() to ensure that names of copied models are reported correctly.
Parameters
modelname of model causing problem
nest::MUSICChannelUnknown::~MUSICChannelUnknown ( )
throw (
)
inline

Member Function Documentation

std::string nest::MUSICChannelUnknown::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 int nest::MUSICChannelUnknown::channel_
private
const std::string nest::MUSICChannelUnknown::model_
private
const std::string nest::MUSICChannelUnknown::portname_
private

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