Package com.saperion.exception
Class UniqueConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.exception.SaBasicException
com.saperion.exception.ConstraintViolationException
com.saperion.exception.UniqueConstraintViolationException
- All Implemented Interfaces:
Serializable
This exception indicates that a uniqueness 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
ConstructorsConstructorDescriptionUniqueConstraintViolationException
(String s, String definitionName, Map<String, com.lexmark.saperion.PropertyType> fieldValues, List<String> violatedFields) UniqueConstraintViolationException
(String s, Throwable cause, String definitionName, Map<String, com.lexmark.saperion.PropertyType> fieldValues, List<String> violatedFields) UniqueConstraintViolationException
(String definitionName, Map<String, com.lexmark.saperion.PropertyType> fieldValues, List<String> violatedFields) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the list of database entries that hold at least one property that made this exception occur.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
-
UniqueConstraintViolationException
-
UniqueConstraintViolationException
-
UniqueConstraintViolationException
-
-
Method Details
-
getViolatedFields
This method returns the list of database entries that hold at least one property that made this exception occur.- Returns:
- the list of database entries that hold at least one property that made this exception occur
-