|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.ConvergenceException
org.apache.commons.math.MaxEvaluationsExceededException
public class MaxEvaluationsExceededException
Error thrown when a numerical computation exceeds its allowed number of functions evaluations.
Constructor Summary | |
---|---|
MaxEvaluationsExceededException(int maxEvaluations)
Constructs an exception with a default detail message. |
|
MaxEvaluationsExceededException(int maxEvaluations,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message. |
|
MaxEvaluationsExceededException(int maxEvaluations,
String pattern,
Object... arguments)
Deprecated. as of 2.2 replaced by MaxEvaluationsExceededException(int, Localizable, Object...) |
Method Summary | |
---|---|
int |
getMaxEvaluations()
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MaxEvaluationsExceededException(int maxEvaluations)
maxEvaluations
- maximal number of evaluations allowed@Deprecated public MaxEvaluationsExceededException(int maxEvaluations, String pattern, Object... arguments)
MaxEvaluationsExceededException(int, Localizable, Object...)
MessageFormat
.
maxEvaluations
- the exceeded maximal number of evaluationspattern
- format specifierarguments
- format argumentspublic MaxEvaluationsExceededException(int maxEvaluations, Localizable pattern, Object... arguments)
MessageFormat
.
maxEvaluations
- the exceeded maximal number of evaluationspattern
- format specifierarguments
- format argumentsMethod Detail |
---|
public int getMaxEvaluations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |