public class CannotReplaceException extends ImportValidationException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Constructor and Description |
---|
CannotReplaceException(javax.xml.registry.infomodel.RegistryObject ro,
javax.xml.registry.infomodel.RegistryObject conflictingObject,
javax.xml.registry.infomodel.RegistryObject referencingObject)
Constructs a new CannotReplaceException.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.registry.infomodel.RegistryObject |
getConflictingObject()
Return the object that caused this conflict, which is the persistent
subobject referenced, but not defined by the replacement main object.
|
javax.xml.registry.infomodel.RegistryObject |
getReferencingObject()
Return the object that references the conflicting object.
|
getObject, toString
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable
public static final java.lang.String rcs_id
public CannotReplaceException(javax.xml.registry.infomodel.RegistryObject ro, javax.xml.registry.infomodel.RegistryObject conflictingObject, javax.xml.registry.infomodel.RegistryObject referencingObject)
ro
- the object that cannot be importedconflictingObject
- the object that is embedded in the persistent counterpart of
ro, not defined by ro, but referenced by other parts of the
registryreferencingObject
- the object that references conflictingObject, either directly
or indirectly through one of its embedded objectspublic javax.xml.registry.infomodel.RegistryObject getConflictingObject()
public javax.xml.registry.infomodel.RegistryObject getReferencingObject()