Class MaxIterationsExceededException

    • Constructor Detail

      • MaxIterationsExceededException

        public MaxIterationsExceededException​(int maxIterations)
        Constructs an exception with a default detail message.
        Parameters:
        maxIterations - maximal number of iterations allowed
      • MaxIterationsExceededException

        @Deprecated
        public MaxIterationsExceededException​(int maxIterations,
                                              String pattern,
                                              Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        maxIterations - the exceeded maximal number of iterations
        pattern - format specifier
        arguments - format arguments
      • MaxIterationsExceededException

        public MaxIterationsExceededException​(int maxIterations,
                                              Localizable pattern,
                                              Object... arguments)
        Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.
        Parameters:
        maxIterations - the exceeded maximal number of iterations
        pattern - format specifier
        arguments - format arguments
        Since:
        2.2
    • Method Detail

      • getMaxIterations

        public int getMaxIterations()
        Get the maximal number of iterations allowed.
        Returns:
        maximal number of iterations allowed