Package com.sap.cds
Class NotNullConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cds.CdsException
com.sap.cds.ql.CdsDataException
com.sap.cds.NotNullConstraintException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a NOT NULL constraint has been violated
during an attempt to insert or update a CdsEntity.
- See Also:
-
Constructor Summary
ConstructorDescriptionNotNullConstraintException
(List<CdsElement> nonNullableElements, Exception ex) -
Method Summary
Modifier and TypeMethodDescriptionGet list of qualified element names which should not be nullGet the qualified name of the entityMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotNullConstraintException
-
-
Method Details
-
getElementNames
Get list of qualified element names which should not be null- Returns:
- list of qualified element names
-
getEntityName
Get the qualified name of the entity- Returns:
- qualified name of the entity
-