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
public class NotNullConstraintException extends CdsDataException
Thrown to indicate that a NOT NULL constraint has been violated during an attempt to insert or update a CdsEntity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotNullConstraintException(List<CdsElement> nonNullableElements, Exception ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getElementNames()
Get list of qualified element names which should not be nullString
getEntityName()
Get the qualified name of the entity-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotNullConstraintException
public NotNullConstraintException(List<CdsElement> nonNullableElements, Exception ex)
-
-