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.
|
getArguments, getLocalizedMessage, getMessage, getMessage, getPattern, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public 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 © GigaSpaces.