Package com.saperion.exception
Class MandatoryConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.exception.SaBasicException
com.saperion.exception.ConstraintViolationException
com.saperion.exception.MandatoryConstraintViolationException
- All Implemented Interfaces:
Serializable
This exception indicates that a mandatory constraint for a given list of fields in a given ddc was violated.
- Author:
- jschwarz
- See Also:
-
Field Summary
Fields inherited from class com.saperion.exception.ConstraintViolationException
definitionName, fieldValues
-
Constructor Summary
ConstructorsConstructorDescriptionMandatoryConstraintViolationException
(String s, String definitionName, List<String> missingFields, Map<String, com.lexmark.saperion.PropertyType> indexData) MandatoryConstraintViolationException
(String s, Throwable cause, String definitionName, List<String> missingFields, Map<String, com.lexmark.saperion.PropertyType> indexData) MandatoryConstraintViolationException
(String definitionName, List<String> missingFields, Map<String, com.lexmark.saperion.PropertyType> indexData) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the names of the fields that need to be set to omit this exception.Methods inherited from class com.saperion.exception.ConstraintViolationException
getDefinitionName, getFieldValues, makeMapImplementationSerializable, makeSerializable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MandatoryConstraintViolationException
-
MandatoryConstraintViolationException
-
MandatoryConstraintViolationException
-
-
Method Details
-
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
-