public class FractionConversionException extends ConvergenceException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serializable version identifier.
|
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, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
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 (c) 2003-2014 Apache Software Foundation