com.centrasite.jaxr.exceptions
Class ConflictingLifecycleStageException

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.ConflictingLifecycleStageException
All Implemented Interfaces:
java.io.Serializable, javax.xml.registry.JAXRResponse

public class ConflictingLifecycleStageException
extends ImportValidationException

Exception used for reporting conflicting lifecycle nodes of an object to be imported.

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
ConflictingLifecycleStageException(javax.xml.registry.infomodel.RegistryObject ro, java.util.Collection conflictingLifecycleStages)
          Construct a new ConflictingLifecycleStageException
 
Method Summary
 java.util.Collection getConflictingLifecycleNodes()
          Return the list of lifecycle nodes.
 
Methods inherited from class com.centrasite.jaxr.exceptions.ImportValidationException
getObject, 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
 

Field Detail

rcs_id

public static java.lang.String rcs_id
Constructor Detail

ConflictingLifecycleStageException

public ConflictingLifecycleStageException(javax.xml.registry.infomodel.RegistryObject ro,
                                          java.util.Collection conflictingLifecycleStages)
Construct a new ConflictingLifecycleStageException

Parameters:
ro - the object that cannot be imported
conflictingLifecycleStages - collection of stages which doesn't match
Method Detail

getConflictingLifecycleNodes

public java.util.Collection getConflictingLifecycleNodes()
Return the list of lifecycle nodes. None of the members had a match with the URL of the current registry

Returns:
the collection with non-matching lifecycle nodes