Class MandatoryConstraintViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MandatoryConstraintViolationException
    extends com.lexmark.saperion.exceptions.runtime.IllegalRequestException
    This exception indicates that an create or update operation violated an mandatory constraint.
    Author:
    jschwarz
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.lexmark.saperion.exceptions.runtime.IllegalRequestException

        com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
      • Nested classes/interfaces inherited from class com.lexmark.saperion.exceptions.runtime.ClientException

        com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
    • Field Summary

      • Fields inherited from class com.lexmark.saperion.exceptions.runtime.IllegalRequestException

        CLIENT_ILLEGAL_INPUT_ERROR
      • Fields inherited from class com.lexmark.saperion.exceptions.runtime.ClientException

        CLIENT_GENERAL_ERROR
    • Constructor Summary

      Constructors 
      Constructor Description
      MandatoryConstraintViolationException​(com.lexmark.saperion.archive.ArchiveReferenceType archiveReferenceType, java.util.List<java.lang.String> missingFields, java.util.Map<java.lang.String,​com.lexmark.saperion.PropertyType> indexData)  
      MandatoryConstraintViolationException​(com.lexmark.saperion.exceptions.ErrorType error, java.lang.Throwable cause)
      This is the constructor used for serialization.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MandatoryConstraintViolationDetails getErrorDetails()  
      • Methods inherited from class com.lexmark.saperion.exceptions.EcmRuntimeException

        createError, getDescriptionParameters, getErrorCode
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MandatoryConstraintViolationException

        public MandatoryConstraintViolationException​(com.lexmark.saperion.exceptions.ErrorType error,
                                                     java.lang.Throwable cause)
        This is the constructor used for serialization.
        Parameters:
        error - the error model
        cause - the cause of the exception
      • MandatoryConstraintViolationException

        public MandatoryConstraintViolationException​(com.lexmark.saperion.archive.ArchiveReferenceType archiveReferenceType,
                                                     java.util.List<java.lang.String> missingFields,
                                                     java.util.Map<java.lang.String,​com.lexmark.saperion.PropertyType> indexData)