Class ConvergenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.math4.exception.MathRuntimeException
org.apache.commons.math4.exception.MathIllegalStateException
org.apache.commons.math4.exception.ConvergenceException
- All Implemented Interfaces:
java.io.Serializable,ExceptionContextProvider
- Direct Known Subclasses:
FractionConversionException
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, java.lang.Object... args)Construct the exception with a specific context and arguments. -
Method Summary
Methods inherited from class org.apache.commons.math4.exception.MathRuntimeException
getContext, getLocalizedMessage, getMessage
-
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.
-