com.centrasite.jaxr.exceptions
Class InvalidReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.registry.JAXRException
com.centrasite.jaxr.exceptions.ImportValidationException
com.centrasite.jaxr.exceptions.InvalidReferenceException
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.registry.JAXRResponse
public class InvalidReferenceException
- extends ImportValidationException
Exception used for reporting an import object that refers to another invalid
import object and thus cannot be imported either.
- 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 |
InvalidReferenceException(javax.xml.registry.infomodel.RegistryObject ro,
javax.xml.registry.infomodel.RegistryObject invalidObject)
Construct a new InvalidReferenceException |
Method Summary |
javax.xml.registry.infomodel.RegistryObject |
getInvalidObject()
Return the object that causes the current problem, which is the
object from the import set that was found to be invalid. |
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
InvalidReferenceException
public InvalidReferenceException(javax.xml.registry.infomodel.RegistryObject ro,
javax.xml.registry.infomodel.RegistryObject invalidObject)
- Construct a new InvalidReferenceException
- Parameters:
ro
- the object that cannot be importedinvalidObject
- the invalidObject that causes the failure of importing ro
getInvalidObject
public javax.xml.registry.infomodel.RegistryObject getInvalidObject()
- Return the object that causes the current problem, which is the
object from the import set that was found to be invalid.
- Returns:
- the object that causes the failure
toString
public java.lang.String toString()
- Overrides:
toString
in class ImportValidationException