Package com.atlassian.adf.model.ex.node
Class TableCellException.ColwidthDoesNotMatchColspan
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.adf.model.ex.AdfException
-
- com.atlassian.adf.model.ex.node.NodeException
-
- com.atlassian.adf.model.ex.node.TableCellException
-
- com.atlassian.adf.model.ex.node.TableCellException.ColwidthException
-
- com.atlassian.adf.model.ex.node.TableCellException.ColwidthDoesNotMatchColspan
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TableCellException
public static class TableCellException.ColwidthDoesNotMatchColspan extends TableCellException.ColwidthException
Reports that the array of valuescolwidthattribute for atableCellortableHeaderdid not match thecolspanattribute. The array must have exactly the same number of entries as the value ofcolspan, which is taken to be1when it is not explicitly specified.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.node.TableCellException
TableCellException.ColspanNotPositive, TableCellException.ColwidthCannotBeNegative, TableCellException.ColwidthDoesNotMatchColspan, TableCellException.ColwidthException, TableCellException.ColwidthMustHaveAtLeastOnePositiveValue, TableCellException.RowspanNegative
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.node.NodeException
NodeException.TypeMismatch
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.AdfException
AdfException.DuplicateProperty, AdfException.EmptyProperty, AdfException.InvalidURI, AdfException.MissingProperty, AdfException.MissingType, AdfException.PropertyException, AdfException.UnexpectedRuntimeException, AdfException.UnsupportedEnumValue, AdfException.ValueTypeMismatch
-
-
Field Summary
-
Fields inherited from class com.atlassian.adf.model.ex.AdfException
MARK_PREFIX, MARKS_PREFIX, NODE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ColwidthDoesNotMatchColspan(Integer colspan, int[] colwidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercolspan()intcolwidthLength()intexpectedLength()-
Methods inherited from class com.atlassian.adf.model.ex.AdfException
backtrace, frame, getPath, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
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 thecolwidtharray
-
colwidthLength
public int colwidthLength()
- Returns:
- the actual number of items in the
colwidtharray
-
-