Class DimensionMismatchException

  • All Implemented Interfaces:
    java.io.Serializable, MathThrowable

    public class DimensionMismatchException
    extends MathException
    Deprecated.
    in 2.2 (to be removed in 3.0). Please use its equivalent from package org.apache.commons.math.exception.
    Error thrown when two dimensions differ.
    Since:
    1.2
    Version:
    $Revision: 1061778 $ $Date: 2011-01-21 13:12:39 +0100 (ven. 21 janv. 2011) $
    See Also:
    Serialized Form
    • Constructor Detail

      • DimensionMismatchException

        public DimensionMismatchException​(int dimension1,
                                          int dimension2)
        Deprecated.
        Construct an exception from the mismatched dimensions
        Parameters:
        dimension1 - first dimension
        dimension2 - second dimension
    • Method Detail

      • getDimension1

        public int getDimension1()
        Deprecated.
        Get the first dimension
        Returns:
        first dimension
      • getDimension2

        public int getDimension2()
        Deprecated.
        Get the second dimension
        Returns:
        second dimension