Class ConstraintViolationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MandatoryConstraintViolationException, UniqueConstraintViolationException

public abstract class ConstraintViolationException extends SaBasicException
This exception indicates that something went wrong concerning document definition constraints. This class is not intended to be thrown itself. Use specific subclasses instead or - if none is applicable - define a new one. Thus the class is declared abstract. It is however intended to be used in "throws"-clauses.
Author:
jschwarz
See Also:
  • Field Details

    • definitionName

      protected final String definitionName
    • fieldValues

      protected final Map<String,com.lexmark.saperion.PropertyType> fieldValues
  • Constructor Details

    • ConstraintViolationException

      public ConstraintViolationException(String message, String definitionName, Map<String,com.lexmark.saperion.PropertyType> fieldValues)
    • ConstraintViolationException

      public ConstraintViolationException(String message, Throwable cause, String definitionName, Map<String,com.lexmark.saperion.PropertyType> fieldValues)
  • Method Details

    • getDefinitionName

      public String getDefinitionName()
    • getFieldValues

      public Map<String,com.lexmark.saperion.PropertyType> getFieldValues()
    • makeSerializable

      protected static Collection<String> makeSerializable(Collection<String> collection)
    • makeMapImplementationSerializable

      protected static Map<String,com.lexmark.saperion.PropertyType> makeMapImplementationSerializable(Map<String,com.lexmark.saperion.PropertyType> map)