Package com.sap.cds
Class UniqueConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cds.CdsException
com.sap.cds.ql.CdsDataException
com.sap.cds.UniqueConstraintException
- All Implemented Interfaces:
Serializable
Thrown by the data store, if a unique constraint is violated when executing
an insert, upsert or update statement.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet map of element names and values violating the unique constraintGet entity qualified nameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UniqueConstraintException
-
-
Method Details
-
getEntityName
Get entity qualified name- Returns:
- entity qualified name
-
getElementValues
Get map of element names and values violating the unique constraint- Returns:
- map of element names and values
-