Class MaxCountExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hipparchus.exception.MathRuntimeException
-
- org.hipparchus.exception.MathIllegalStateException
-
- org.hipparchus.migration.exception.MaxCountExceededException
-
- All Implemented Interfaces:
Serializable
,LocalizedException
- Direct Known Subclasses:
TooManyEvaluationsException
,TooManyIterationsException
@Deprecated public class MaxCountExceededException extends MathIllegalStateException
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
Exception to be thrown when some counter maximum value is exceeded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxCountExceededException(Number max)
Deprecated.Construct the exception.MaxCountExceededException(Localizable specific, Number max, Object... args)
Deprecated.Construct the exception with a specific context.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Number
getMax()
Deprecated.Get maximum number of evaluations.-
Methods inherited from class org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MaxCountExceededException
public MaxCountExceededException(Number max)
Deprecated.Construct the exception.- Parameters:
max
- Maximum.
-
MaxCountExceededException
public MaxCountExceededException(Localizable specific, Number max, Object... args)
Deprecated.Construct the exception with a specific context.- Parameters:
specific
- Specific context pattern.max
- Maximum.args
- Additional arguments.
-
-
Method Detail
-
getMax
public Number getMax()
Deprecated.Get maximum number of evaluations.- Returns:
- the maximum number of evaluations
-
-