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:
- Serializable
public class MaxEvaluationsExceededException
- extends ConvergenceException
Error thrown when a numerical computation exceeds its allowed
number of functions evaluations.
- Since:
- 2.0
- Version:
- $Revision: 779273 $ $Date: 2009-05-27 14:54:48 -0400 (Wed, 27 May 2009) $
- See Also:
- Serialized Form
Method Summary |
int |
getMaxEvaluations()
Get the maximal number of evaluations allowed. |
MaxEvaluationsExceededException
public MaxEvaluationsExceededException(int maxEvaluations)
- Constructs an exception with specified formatted detail message.
Message formatting is delegated to
MessageFormat
.
- Parameters:
maxEvaluations
- maximal number of evaluations allowed
MaxEvaluationsExceededException
public MaxEvaluationsExceededException(int maxEvaluations,
String pattern,
Object... arguments)
- Constructs an exception with specified formatted detail message.
Message formatting is delegated to
MessageFormat
.
- Parameters:
maxEvaluations
- the exceeded maximal number of evaluationspattern
- format specifierarguments
- format arguments
getMaxEvaluations
public int getMaxEvaluations()
- Get the maximal number of evaluations allowed.
- Returns:
- maximal number of evaluations allowed
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.