Package org.apache.commons.math
Class MaxEvaluationsExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.math.MathException
-
- org.apache.commons.math.ConvergenceException
-
- org.apache.commons.math.MaxEvaluationsExceededException
-
- All Implemented Interfaces:
java.io.Serializable,MathThrowable
public class MaxEvaluationsExceededException extends ConvergenceException
Error thrown when a numerical computation exceeds its allowed number of functions evaluations.- Since:
- 2.0
- Version:
- $Revision: 983921 $ $Date: 2010-08-10 12:46:06 +0200 (mar. 10 août 2010) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxEvaluationsExceededException(int maxEvaluations)Constructs an exception with a default detail message.MaxEvaluationsExceededException(int maxEvaluations, java.lang.String pattern, java.lang.Object... arguments)Deprecated.as of 2.2 replaced byMaxEvaluationsExceededException(int, Localizable, Object...)MaxEvaluationsExceededException(int maxEvaluations, Localizable pattern, java.lang.Object... arguments)Constructs an exception with specified formatted detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxEvaluations()Get the maximal number of evaluations allowed.-
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
MaxEvaluationsExceededException
public MaxEvaluationsExceededException(int maxEvaluations)
Constructs an exception with a default detail message.- Parameters:
maxEvaluations- maximal number of evaluations allowed
-
MaxEvaluationsExceededException
@Deprecated public MaxEvaluationsExceededException(int maxEvaluations, java.lang.String pattern, java.lang.Object... arguments)Deprecated.as of 2.2 replaced byMaxEvaluationsExceededException(int, Localizable, Object...)Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat.- Parameters:
maxEvaluations- the exceeded maximal number of evaluationspattern- format specifierarguments- format arguments
-
MaxEvaluationsExceededException
public MaxEvaluationsExceededException(int maxEvaluations, Localizable pattern, java.lang.Object... arguments)Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat.- Parameters:
maxEvaluations- the exceeded maximal number of evaluationspattern- format specifierarguments- format arguments- Since:
- 2.2
-
-