PeanutButter
Loading...
Searching...
No Matches
PeanutButter.RandomGenerators.CannotGetAnotherDifferentRandomValueException< T > Class Template Reference

Exception thrown when the method GetAnother is unable to find another random value different from the exclusion value specified. More...

Inheritance diagram for PeanutButter.RandomGenerators.CannotGetAnotherDifferentRandomValueException< T >:

Public Member Functions

 CannotGetAnotherDifferentRandomValueException (T unwantedValue)
 Constructs a new instance of the exception, storing the unwanted value.

Properties

Value [get]
 Value which was specified to be avoided.

Detailed Description

Exception thrown when the method GetAnother is unable to find another random value different from the exclusion value specified.

Template Parameters
T

Member Function Documentation

◆ CannotGetAnotherDifferentRandomValueException()

PeanutButter.RandomGenerators.CannotGetAnotherDifferentRandomValueException< T >.CannotGetAnotherDifferentRandomValueException ( T unwantedValue)

Constructs a new instance of the exception, storing the unwanted value.

Parameters
unwantedValueValue which was to be avoided when generating a new value

The documentation for this class was generated from the following file:
  • source/TestUtils/PeanutButter.RandomGenerators/CannotGetAnotherDifferentRandomValueException.cs