com.centrasite.jaxr.exceptions
Class DeleteRejectedByAssociationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.registry.JAXRException
              extended by javax.xml.registry.InvalidRequestException
                  extended by com.centrasite.jaxr.exceptions.DeleteRejectedByAssociationException
All Implemented Interfaces:
java.io.Serializable, javax.xml.registry.JAXRResponse

public class DeleteRejectedByAssociationException
extends javax.xml.registry.InvalidRequestException

Exception used when a RegistryObject cannot be deleted because it is the target of some association

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
DeleteRejectedByAssociationException(java.lang.String errorMessage, javax.xml.registry.infomodel.Association assoc)
          Construct a new DeleteRejectedByAssociationException
 
Method Summary
 javax.xml.registry.infomodel.RegistryObject getAssociation()
          Return the association that inhibits the delete operation.
 
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, toString
 
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

DeleteRejectedByAssociationException

public DeleteRejectedByAssociationException(java.lang.String errorMessage,
                                            javax.xml.registry.infomodel.Association assoc)
Construct a new DeleteRejectedByAssociationException

Parameters:
errorMessage - the error message string
assoc - the association that inhibits the delete operation
Method Detail

getAssociation

public javax.xml.registry.infomodel.RegistryObject getAssociation()
Return the association that inhibits the delete operation. The object to be deleted is the target of this association.

Returns:
the association that inhibits the delete operation