Class DimensionMismatchException

    • Method Summary

      Modifier and Type Method Description
      int getDimension()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.