Package com.xinapse.numerical
Class ConvergenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.xinapse.numerical.NumericalException
com.xinapse.numerical.ConvergenceException
- All Implemented Interfaces:
Serializable
Signals that an iterative procedure has failed to converge.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aConvergenceException
with "failed to converge" as its detail message.ConvergenceException
(int numIt) Constructs aConvergenceException
with a detail message that indicates the number of iterations tried.ConvergenceException
(String message) Constructs aConvergenceException
with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConvergenceException
public ConvergenceException()Constructs aConvergenceException
with "failed to converge" as its detail message. -
ConvergenceException
public ConvergenceException(int numIt) Constructs aConvergenceException
with a detail message that indicates the number of iterations tried.- Parameters:
numIt
- the number of iterations before convergence failed.
-
ConvergenceException
Constructs aConvergenceException
with the specified detail message. The error message stringmessage
can later be retrieved by theThrowable.getMessage()
method of classThrowable
.- Parameters:
message
- the detail message.
-