com.centrasite.jaxr.exceptions
Class InvalidReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.registry.JAXRException
              extended by com.centrasite.jaxr.exceptions.ImportValidationException
                  extended by 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 com.centrasite.jaxr.exceptions.ImportValidationException
getObject
 
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
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

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 imported
invalidObject - the invalidObject that causes the failure of importing ro
Method Detail

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