Package org.eclipse.emf.cdo.util
Class DanglingIntegrityException
- 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.DanglingIntegrityException
-
- All Implemented Interfaces:
java.io.Serializable
public class DanglingIntegrityException extends DataIntegrityException
A localdata integrity exception
that indicates the addition of one or more cross references to objects that are not (or no longer) contained in the repository.The target objects of the respective dangling references must be attached to the repository. A
CDOAutoAttacher
can help to do so.- Since:
- 4.2
- 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 Summary
Constructors Constructor Description DanglingIntegrityException(DanglingReferenceException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DanglingReferenceException
getCause()
EObject
getTarget()
boolean
isLocal()
-
Methods inherited from class org.eclipse.emf.cdo.util.CommitException
wrap
-
-
-
-
Constructor Detail
-
DanglingIntegrityException
public DanglingIntegrityException(DanglingReferenceException cause)
-
-
Method Detail
-
getCause
public DanglingReferenceException getCause()
- Overrides:
getCause
in classjava.lang.Throwable
-
getTarget
public EObject getTarget()
-
isLocal
public boolean isLocal()
- Overrides:
isLocal
in classCommitException
-
-