Class MandatoryConstraintViolationException

All Implemented Interfaces:
Serializable

public class MandatoryConstraintViolationException extends ConstraintViolationException
This exception indicates that a mandatory constraint for a given list of fields in a given ddc was violated.
Author:
jschwarz
See Also:
  • Constructor Details

    • MandatoryConstraintViolationException

      public MandatoryConstraintViolationException(String definitionName, List<String> missingFields, Map<String,com.lexmark.saperion.PropertyType> indexData)
    • MandatoryConstraintViolationException

      public MandatoryConstraintViolationException(String s, String definitionName, List<String> missingFields, Map<String,com.lexmark.saperion.PropertyType> indexData)
    • MandatoryConstraintViolationException

      public MandatoryConstraintViolationException(String s, Throwable cause, String definitionName, List<String> missingFields, Map<String,com.lexmark.saperion.PropertyType> indexData)
  • Method Details

    • getMissingFields

      public Collection<String> getMissingFields()
      This method returns the names of the fields that need to be set to omit this exception.
      Returns:
      the names of the fields that need to be set to omit this exception