Class TooManyIterationsException
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.MaxCountExceededException
org.apache.commons.math4.exception.TooManyIterationsException
- All Implemented Interfaces:
java.io.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(java.lang.Number max)Construct the exception. -
Method Summary
Methods inherited from class org.apache.commons.math4.exception.MathRuntimeException
getContext, getLocalizedMessage, getMessage
-
Constructor Details
-
TooManyIterationsException
public TooManyIterationsException(java.lang.Number max)Construct the exception.- Parameters:
max- Maximum number of evaluations.
-