@FieldsAreNonnullByDefault @ParametersAreNonnullByDefault @PublicApi @ReturnValuesAreNonnullByDefault
Package com.atlassian.adf.model.ex.node
Various exceptions indicating that there is a problem with a node object within the ADF
document structure.
-
Exception Summary Exception Description CardException Reports a problem with one of the various "card" node types:blockCard,embedCard, orinlineCard.CardException.BlockCardAttributesMustBeSet Reports an attempt to use ablockCardwithout first setting any of itsurl,data, ordatasourcevalues.CardException.DataAndDatasourceCannotBothBeSet Reports an attempt to set both thedataanddatasourcevalues on ablockCard.CardException.DatasourceRequiresAtLeastOneView Reports an attempt to use ablockCardwithdatasourceattributes that do not contain at least one entry in theviewslist.CardException.InvalidWidth Reports an attempt to use an invalidwidthvalue on anembedCardnode.CardException.UrlAndDataCannotBothBeSet Reports an attempt to set both theurlanddatavalues on ablockCardorinlineCard.CardException.UrlOrDataMustBeSet Reports an attempt to use aninlineCardwithout first setting either itsurlordatavalue.ContentException Reports a problem with thecontentsection for a node.ContentException.ContentRequired Reports that thecontentfields was not provided or was left empty on a node that requires at least one content item to be valid.ContentException.FieldRequired Reports that thecontentfield was not provided on a node that requires its presence.DocException Reports a problem with the top-most node of an ADF document.DocException.InvalidTopLevel Indicates that a request to parse a document as ADF failed because the top-most node was not adoc.DocException.UnsupportedVersion Indicates that thedocnode specified an unsupported value for itsversion.HardBreakException Reports a problem with ahardBreaknode.HardBreakException.TextMustBeNewline The rather uselesstextattribute onhardBreaknodes is usually omitted, and when specified is only permitted to use the value"\n"— that is, a single newline character.HeadingException Reports a problem with aheadingnode.HeadingException.InvalidLevel Reports that aheadingnode specified alevelthat is out of range.LayoutColumnException Reports a problem with alayoutColumnnode.LayoutColumnException.InvalidWidth Reports an attempt to use an invalidwidthvalue on alayoutColumnnode.LayoutSectionException Reports a problem with alayoutSectionnode.LayoutSectionException.ColumnCountException Reports a problem with the number oflayoutColumnnodes contained within alayoutSectionnode.LayoutSectionException.NotEnoughLayoutColumns Indicates that alayoutSectionnode did not have enoughlayoutColumnnodes within it to be valid.LayoutSectionException.TooManyLayoutColumns Indicates that alayoutSectionnode had too manylayoutColumnnodes within it to be valid.ListException Reports a problem with abulletList,orderedList, orlistItemnode.ListException.CannotUseNestedListAsFirstContentItem Reports an attempt to nest abulletListororderedListas the first piece of content in alistItem.ListException.OrderMustNotBeNegative Reports an attempt to create anorderedListwith anordervalue that is negative.MediaException Reports a problem with amedianode or one of the containers that can hold one:mediaGroup,mediaSingle, ormediaInline.MediaException.HeightMustBePositive Reports an attempt to use an invalidheightvalue on amedianode or one of its containers.MediaException.MediaSizeException Reports an attempt to use an invalidwidthorheightvalue on amedianode or one of its containers.MediaException.TooManyContentItems Reports that too many content items were provided for amediaSinglenode.MediaException.WidthMustBePositive Reports an attempt to use an invalidwidthvalue on amedianode or one of its containers, except thatmediaSingleusesMediaException.WidthMustBeValidPercentageinstead.MediaException.WidthMustBeValidPercentage Reports an attempt to use an invalidwidthvalue on a node that expects apercentagewidth value.MediaException.WidthMustBeValidPixelCount Reports an attempt to use an invalidwidthvalue on a node that expects apixelcount.NodeException Reports a problem with an ADF node.NodeException.TypeMismatch Reports that thetypeof node used does not implement the class that is required in the givenparentTypenode'scontent.TableCellException Reports an error with atableCellortableHeadernode.TableCellException.ColspanNotPositive Reports that thecolspanattribute for atableCellortableHeadernode was not positive.TableCellException.ColwidthCannotBeNegative Reports that at least one negative value was provided in thecolwidthattribute for atableCellortableHeader.TableCellException.ColwidthDoesNotMatchColspan Reports that the array of valuescolwidthattribute for atableCellortableHeaderdid not match thecolspanattribute.TableCellException.ColwidthException Reports a problem with thecolwidthattribute of atableCellortableHeader.TableCellException.ColwidthMustHaveAtLeastOnePositiveValue Reports that all of the valuescolwidthattribute for atableCellortableHeaderwere0.TableCellException.RowspanNegative Reports that therowspanattribute for atableCellortableHeaderwas negative.TaskListException Reports a problem with ataskListnode.TaskListException.CannotUseNestedTaskListAsFirstContentItem Reports an attempt to nest ataskListas the first piece of content in ataskITem.