com.centrasite.jaxr.exceptions
Class ConflictingStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.registry.JAXRException
com.centrasite.jaxr.exceptions.ImportValidationException
com.centrasite.jaxr.exceptions.ConflictingStateException
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.registry.JAXRResponse
public class ConflictingStateException
- extends ImportValidationException
Exception used for reporting conflicting states of an object to be imported
with an existing object that has the same key.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
rcs_id
|
Fields inherited from class javax.xml.registry.JAXRException |
cause |
Fields inherited from interface javax.xml.registry.JAXRResponse |
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING |
Constructor Summary |
ConflictingStateException(javax.xml.registry.infomodel.RegistryObject ro,
javax.xml.registry.infomodel.RegistryObject conflictingObject)
Construct a new ConflictingStateException |
Method Summary |
javax.xml.registry.infomodel.RegistryObject |
getConflictingObject()
Return the object that caused this conflict, which is the persistent object
that is in the way with a non-matching state when trying to import. |
java.lang.String |
toString()
|
Methods inherited from class javax.xml.registry.JAXRException |
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rcs_id
public static final java.lang.String rcs_id
- See Also:
- Constant Field Values
ConflictingStateException
public ConflictingStateException(javax.xml.registry.infomodel.RegistryObject ro,
javax.xml.registry.infomodel.RegistryObject conflictingObject)
- Construct a new ConflictingStateException
- Parameters:
ro
- the object that cannot be importedconflictingObject
- the object that causes the conflict
getConflictingObject
public javax.xml.registry.infomodel.RegistryObject getConflictingObject()
- Return the object that caused this conflict, which is the persistent object
that is in the way with a non-matching state when trying to import.
- Returns:
- the object that caused this conflict
toString
public java.lang.String toString()
- Overrides:
toString
in class ImportValidationException