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

Exception to be thrown if a parameter value is not acceptable. More...

#include <sliexceptions.h>

Inheritance diagram for BadParameterValue:
SLIException

Public Member Functions

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

Exception to be thrown if a parameter value is not acceptable.

Constructor & Destructor Documentation

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

Member Function Documentation

std::string BadParameterValue::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 BadParameterValue::msg_
private

Referenced by message().


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