Class UniqueConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.lexmark.saperion.exceptions.EcmRuntimeException
com.lexmark.saperion.exceptions.runtime.ClientException
com.lexmark.saperion.exceptions.runtime.IllegalRequestException
com.lexmark.saperion.exceptions.runtime.UniqueConstraintViolationException
- All Implemented Interfaces:
Serializable
public class UniqueConstraintViolationException
extends com.lexmark.saperion.exceptions.runtime.IllegalRequestException
This exception indicates that an create or update operation violated a unique constraint.
- Author:
- jschwarz
- See Also:
-
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
ConstructorsConstructorDescriptionUniqueConstraintViolationException
(com.lexmark.saperion.archive.ArchiveReferenceType archive, Map<String, com.lexmark.saperion.PropertyType> indexData, List<String> violatedFields) UniqueConstraintViolationException
(com.lexmark.saperion.exceptions.ErrorType fault, Throwable cause) This is the constructor used for serialization.UniqueConstraintViolationException
(String message, com.lexmark.saperion.archive.ArchiveReferenceType archive, Map<String, com.lexmark.saperion.PropertyType> indexData, List<String> violatedFields) -
Method Summary
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
-
Constructor Details
-
UniqueConstraintViolationException
public UniqueConstraintViolationException(com.lexmark.saperion.exceptions.ErrorType fault, Throwable cause) This is the constructor used for serialization.- Parameters:
fault
- the error modelcause
- the cause of the exception
-
UniqueConstraintViolationException
-
UniqueConstraintViolationException
-
-
Method Details
-
getErrorDetails
- Overrides:
getErrorDetails
in classcom.lexmark.saperion.exceptions.EcmRuntimeException
-