Class MarkException.TypeUnsupported

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    MarkException

    public static class MarkException.TypeUnsupported
    extends MarkException
    Indicates that the given mark type does not satisfy the type system's contraints on what mark types are permitted here. For example, if the ADF specified a strong mark on a paragraph node. While suitable for placing on text nodes within the paragraph, the paragraph itself only supports position marks, like alignment or indentation.
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeUnsupported

        public TypeUnsupported​(Class<? extends Mark> expectedMarkClass,
                               String type)
    • Method Detail

      • expectedMarkClass

        public Class<? extends Mark> expectedMarkClass()