Class MarkException.DuplicateMarkType

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    MarkException

    public static class MarkException.DuplicateMarkType
    extends MarkException.ConstraintViolation
    Indicates that the caller has attempted to add two marks with the same value for the type field to the same node. It is a common constraint across all node types in ADF that at most one mark of a given type is all that is ever permitted.
    See Also:
    Serialized Form
    • Constructor Detail

      • DuplicateMarkType

        public DuplicateMarkType​(Mark mark)
      • DuplicateMarkType

        public DuplicateMarkType​(String markType)
    • Method Detail

      • markType

        public String markType()
        Returns:
        the mark type that would have been duplicated