codesimian
Class ChaosException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
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 |
ChaosException
public ChaosException()
ChaosException
public ChaosException(java.lang.String message)
ChaosException
public ChaosException(int bitsRequested,
int bitsAvailable,
double requiredRandomnessPowerOf2,
java.lang.String message)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable