Class TooManyEvaluationsException
- 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.TooManyEvaluationsException
-
- All Implemented Interfaces:
Serializable
,ExceptionContextProvider
public class TooManyEvaluationsException extends MaxCountExceededException
Exception to be thrown when the maximal number of evaluations is exceeded.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyEvaluationsException(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
-
TooManyEvaluationsException
public TooManyEvaluationsException(Number max)
Construct the exception.- Parameters:
max
- Maximum number of evaluations.
-
-