Class exception

Synopsis

#include "breeze/random/entropy_source.hpp"

class entropy_source::exception
    :   public std::runtime_error

Description

The type of exceptions thrown by the members of entropy_source.

Inheritance

Ancestors: std::runtime_error

Methods

exceptionConstructs an entropy_source::exception with the given string as what() message.

Source

Lines 175-188 in breeze/random/entropy_source.hpp.

class entropy_source::exception
    :   public std::runtime_error
{
public:
    //!\cond implementation
    [[ noreturn ]] static void
                        raise( std::string const & message ) ;
    //!\endcond

    //!     Constructs an entropy_source::exception with the given
    //!     string as \c what() message.
    // -----------------------------------------------------------------------
    explicit            exception( std::string const & msg ) ;
} ;