Public Member Functions

boost::xint::exceptions::no_strong_random Class Reference

Inherits std::runtime_error.

List of all members.

Public Member Functions

 no_strong_random (const std::string &what="system does not have a strong random generator")

Detailed Description

Derived from std::runtime_error.

Remarks:
Thrown by the xint::strong_random_generator class's constructor, if the system does not provide a cryptographically-secure random generator. Also thrown if the generator fails when asked to provide a random value, though this should be vanishingly rare.

Definition at line 127 of file exceptions.hpp.


Constructor & Destructor Documentation

boost::xint::exceptions::no_strong_random::no_strong_random ( const std::string &  what = "system does not have a strong random generator"  )  [inline]

Definition at line 129 of file exceptions.hpp.


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

© Copyright Chad Nelson, 2010-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)