public class FractionConversionException extends ConvergenceException
| Constructor and Description |
|---|
FractionConversionException(double value,
int maxIterations)
Constructs an exception with specified formatted detail message.
|
FractionConversionException(double value,
long p,
long q)
Constructs an exception with specified formatted detail message.
|
getContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FractionConversionException(double value, int maxIterations)
MessageFormat.value - double value to convertmaxIterations - maximal number of iterations allowedpublic FractionConversionException(double value, long p, long q)
MessageFormat.value - double value to convertp - current numeratorq - current denominatorCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.