Package org.eclipse.emf.cdo.util

# Klasse 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

Alle implementierten Schnittstellen:
  `Serializable`

public class ReferentialIntegrityException extends DataIntegrityException
A `data integrity exception` that 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:

- `CDOView#queryXRefs()`
- `CDOView#queryXRefsAsync()`

Seit:
  4.0
Autor:
  Eike Stepper
Siehe auch:
  - Serialisierte 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.

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ReferentialIntegrityException(String msg, List<CDOObjectReference> xRefs)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`List<CDOObjectReference>`
`getXRefs()`

### Von Klasse geerbte Methoden org.eclipse.emf.cdo.util.CommitException

`isLocal, wrap`

### Von Klasse geerbte Methoden java.lang.Throwable

`addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Konstruktordetails

### ReferentialIntegrityException

public ReferentialIntegrityException(String msg, List<CDOObjectReference> xRefs)

## Methodendetails

### getXRefs

public List<CDOObjectReference> getXRefs()