Package org.apache.commons.math
Class ConvergenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.ConvergenceException
- All Implemented Interfaces:
Serializable
,MathThrowable
- Direct Known Subclasses:
FractionConversionException
,MaxEvaluationsExceededException
,MaxIterationsExceededException
,OptimizationException
Error thrown when a numerical computation can not be performed because the
numerical result failed to converge to a finite value.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ConvergenceException
(String pattern, Object... arguments) Deprecated.ConvergenceException
(Throwable cause) Create an exception with a given root cause.ConvergenceException
(Throwable cause, String pattern, Object... arguments) Deprecated.as of 2.2 replaced byConvergenceException(Throwable, Localizable, Object...)
ConvergenceException
(Throwable cause, Localizable pattern, Object... arguments) Constructs an exception with specified formatted detail message and root cause.ConvergenceException
(Localizable pattern, Object... arguments) Constructs an exception with specified formatted detail message. -
Method Summary
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConvergenceException
public ConvergenceException()Default constructor. -
ConvergenceException
Deprecated.as of 2.2 replaced byConvergenceException(Localizable, Object...)
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 1.2
-
ConvergenceException
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
ConvergenceException
Create an exception with a given root cause.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
ConvergenceException
Deprecated.as of 2.2 replaced byConvergenceException(Throwable, Localizable, Object...)
Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated toMessageFormat
.- Parameters:
cause
- the exception or error that caused this exception to be thrownpattern
- format specifierarguments
- format arguments- Since:
- 1.2
-
ConvergenceException
Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated toMessageFormat
.- Parameters:
cause
- the exception or error that caused this exception to be thrownpattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
ConvergenceException(Localizable, Object...)