Class ConvergenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.math4.legacy.exception.MathRuntimeException
-
- org.apache.commons.math4.legacy.exception.MathIllegalStateException
-
- org.apache.commons.math4.legacy.exception.ConvergenceException
-
- All Implemented Interfaces:
Serializable
,ExceptionContextProvider
public class ConvergenceException extends MathIllegalStateException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConvergenceException()
Construct 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.math4.legacy.exception.MathRuntimeException
getContext, getLocalizedMessage, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConvergenceException
public ConvergenceException()
Construct the exception.
-
ConvergenceException
public ConvergenceException(Localizable pattern, Object... args)
Construct the exception with a specific context and arguments.- Parameters:
pattern
- Message pattern providing the specific context of the error.args
- Arguments.
-
-