Class TableCellException.ColwidthDoesNotMatchColspan

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    TableCellException

    public static class TableCellException.ColwidthDoesNotMatchColspan
    extends TableCellException.ColwidthException
    Reports that the array of values colwidth attribute for a tableCell or tableHeader did not match the colspan attribute. The array must have exactly the same number of entries as the value of colspan, which is taken to be 1 when it is not explicitly specified.
    See Also:
    Serialized Form
    • Constructor Detail

      • ColwidthDoesNotMatchColspan

        public ColwidthDoesNotMatchColspan​(@Nullable
                                           Integer colspan,
                                           int[] colwidth)
    • Method Detail

      • colspan

        @Nullable
        public Integer colspan()
        Returns:
        the value that was provided for colspan
      • expectedLength

        public int expectedLength()
        Returns:
        the effective value of colspan, which is in turn the expected number of items in the colwidth array
      • colwidthLength

        public int colwidthLength()
        Returns:
        the actual number of items in the colwidth array