Package org.decampo.xirr
Class NonconvergenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.decampo.xirr.NonconvergenceException
-
- All Implemented Interfaces:
Serializable
public class NonconvergenceException extends IllegalArgumentException
Indicates the algorithm failed to converge in the allotted number of iterations.- Author:
- ray
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonconvergenceException(double guess, long iterations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getInitialGuess()
Get the initial guess used for the algorithm.long
getIterations()
Get the number of iterations applied.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-