codesimian
Class ChaosException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by codesimian.ChaosException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChaosException.Predicted

public class ChaosException
extends java.lang.RuntimeException

Thrown when there is not enough Chaos available to satisfy a request for a certain amount of bits which have a certain quality of randomness.

See Also:
Serialized Form

Nested Class Summary
static class ChaosException.Predicted
          thrown when random bits have been predicted, proving they are not random.
 
Constructor Summary
ChaosException()
           
ChaosException(int bitsRequested, int bitsAvailable, double requiredRandomnessPowerOf2, java.lang.String message)
           
ChaosException(java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChaosException

public ChaosException()

ChaosException

public ChaosException(java.lang.String message)

ChaosException

public ChaosException(int bitsRequested,
                      int bitsAvailable,
                      double requiredRandomnessPowerOf2,
                      java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable