Class TooManyIterationsException
- 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.MaxCountExceededException
-
- org.apache.commons.math4.legacy.exception.TooManyIterationsException
-
- All Implemented Interfaces:
Serializable
,ExceptionContextProvider
public class TooManyIterationsException extends MaxCountExceededException
Exception to be thrown when the maximal number of iterations is exceeded.- Since:
- 3.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyIterationsException(Number max)
Construct the exception.
-
Method Summary
-
Methods inherited from class org.apache.commons.math4.legacy.exception.MaxCountExceededException
getMax
-
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
-
TooManyIterationsException
public TooManyIterationsException(Number max)
Construct the exception.- Parameters:
max
- Maximum number of evaluations.
-
-