Documentation of 'org.apache.commons.math3.exception.MultiDimensionMismatchException' Java class
MultiDimensionMismatchException
org.apache.commons.math3.exception

Class MultiDimensionMismatchException

    • Constructor Detail

      • MultiDimensionMismatchException

        public MultiDimensionMismatchException(java.lang.Integer[] wrong,
                                               java.lang.Integer[] expected)
        Construct an exception from the mismatched dimensions.
        Parameters:
        wrong - Wrong dimensions.
        expected - Expected dimensions.
      • MultiDimensionMismatchException

        public MultiDimensionMismatchException(Localizable specific,
                                               java.lang.Integer[] wrong,
                                               java.lang.Integer[] expected)
        Construct an exception from the mismatched dimensions.
        Parameters:
        specific - Message pattern providing the specific context of the error.
        wrong - Wrong dimensions.
        expected - Expected dimensions.
    • Method Detail

      • getWrongDimensions

        public java.lang.Integer[] getWrongDimensions()
        Returns:
        an array containing the wrong dimensions.
      • getExpectedDimensions

        public java.lang.Integer[] getExpectedDimensions()
        Returns:
        an array containing the expected dimensions.
      • getWrongDimension

        public int getWrongDimension(int index)
        Parameters:
        index - Dimension index.
        Returns:
        the wrong dimension stored at index.
      • getExpectedDimension

        public int getExpectedDimension(int index)
        Parameters:
        index - Dimension index.
        Returns:
        the expected dimension stored at index.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.