org.apache.commons.math
Class MaxIterationsExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.ConvergenceException
org.apache.commons.math.MaxIterationsExceededException
- All Implemented Interfaces:
- java.io.Serializable
public class MaxIterationsExceededException
- extends ConvergenceException
Error thrown when a numerical computation exceeds its allowed
number of iterations.
- Since:
- 1.2
- Version:
- $Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
- See Also:
- Serialized Form
Constructor Summary |
MaxIterationsExceededException(int maxIterations)
Constructs an exception with specified formatted detail message. |
MaxIterationsExceededException(int maxIterations,
java.lang.String pattern,
java.lang.Object[] arguments)
Constructs an exception with specified formatted detail message. |
Method Summary |
int |
getMaxIterations()
Get the maximal number of iterations allowed. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MaxIterationsExceededException
public MaxIterationsExceededException(int maxIterations)
- Constructs an exception with specified formatted detail message.
Message formatting is delegated to
MessageFormat
.
- Parameters:
maxIterations
- maximal number of iterations allowed
MaxIterationsExceededException
public MaxIterationsExceededException(int maxIterations,
java.lang.String pattern,
java.lang.Object[] arguments)
- Constructs an exception with specified formatted detail message.
Message formatting is delegated to
MessageFormat
.
- Parameters:
maxIterations
- the exceeded maximal number of iterationspattern
- format specifierarguments
- format arguments
getMaxIterations
public int getMaxIterations()
- Get the maximal number of iterations allowed.
- Returns:
- maximal number of iterations allowed
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.