Class 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
    See Also:
    Serialized Form
    • 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)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        maxEvaluations - the exceeded maximal number of evaluations
        pattern - format specifier
        arguments - 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 to MessageFormat.
        Parameters:
        maxEvaluations - the exceeded maximal number of evaluations
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
    • Method Detail

      • getMaxEvaluations

        public int getMaxEvaluations()
        Get the maximal number of evaluations allowed.
        Returns:
        maximal number of evaluations allowed