Class ConvergenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.apache.commons.math3.exception.MathIllegalStateException
org.apache.commons.math3.exception.ConvergenceException
- All Implemented Interfaces:
Serializable
,ExceptionContextProvider
- Direct Known Subclasses:
FractionConversionException
Error thrown when a numerical computation can not be performed because the
numerical result failed to converge to a finite value.
- Since:
- 2.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct the exception.ConvergenceException
(Localizable pattern, Object... args) Construct the exception with a specific context and arguments. -
Method Summary
Methods inherited from class org.apache.commons.math3.exception.MathIllegalStateException
getContext, getLocalizedMessage, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConvergenceException
public ConvergenceException()Construct the exception. -
ConvergenceException
Construct the exception with a specific context and arguments.- Parameters:
pattern
- Message pattern providing the specific context of the error.args
- Arguments.
-