Package org.eclipse.emf.cdo.util
Class ReferentialIntegrityException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.eclipse.emf.cdo.util.CommitException
- 
- org.eclipse.emf.cdo.util.DataIntegrityException
- 
- org.eclipse.emf.cdo.util.ReferentialIntegrityException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class ReferentialIntegrityException extends DataIntegrityException Adata integrity exceptionthat indicates an attempt to create stale references. A stale reference is a reference that points to a target object that does not (or no longer) exist.Detection of referential integrity violations must be explicitly enabled on the server side because it can be expensive: <property name="ensureReferentialIntegrity" value="true"/>The risk of referential integrity violations can be reduced (but not eliminated) by using local cross reference queries before committing:- Since:
- 4.0
- Author:
- Eike Stepper
- See Also:
- Serialized Form
- No Extend
- This interface is not intended to be extended by clients.
- No Instantiate
- This class is not intended to be instantiated by clients.
 
- 
- 
Constructor SummaryConstructors Constructor Description ReferentialIntegrityException(java.lang.String msg, java.util.List<CDOObjectReference> xRefs)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CDOObjectReference>getXRefs()- 
Methods inherited from class org.eclipse.emf.cdo.util.CommitExceptionisLocal, wrap
 
- 
 
- 
- 
- 
Constructor Detail- 
ReferentialIntegrityExceptionpublic ReferentialIntegrityException(java.lang.String msg, java.util.List<CDOObjectReference> xRefs)
 
- 
 - 
Method Detail- 
getXRefspublic java.util.List<CDOObjectReference> getXRefs() 
 
- 
 
-