Class DimensionMismatchException

    • Constructor Detail

      • DimensionMismatchException

        public DimensionMismatchException​(Localizable specific,
                                          int wrong,
                                          int expected)
        Construct an exception from the mismatched dimensions.
        Parameters:
        specific - Specific context information pattern.
        wrong - Wrong dimension.
        expected - Expected dimension.
      • DimensionMismatchException

        public DimensionMismatchException​(int wrong,
                                          int expected)
        Construct an exception from the mismatched dimensions.
        Parameters:
        wrong - Wrong dimension.
        expected - Expected dimension.
    • Method Detail

      • getDimension

        public int getDimension()
        Returns:
        the expected dimension.