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

Exception to be thrown if no (suitable) RNG is available. More...

#include <librandom_exceptions.h>

Inheritance diagram for librandom::UnsuitableRNG:
SLIException

Public Member Functions

 UnsuitableRNG ()
 
 UnsuitableRNG (std::string msg)
 
 ~UnsuitableRNG () 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 no (suitable) RNG is available.

Constructor & Destructor Documentation

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

Member Function Documentation

std::string librandom::UnsuitableRNG::message ( )
inlinevirtual

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 librandom::UnsuitableRNG::msg_
private

Referenced by message().


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