com.centrasite.jaxr.exceptions
Class DeleteRejectedByClassificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.registry.JAXRException
javax.xml.registry.InvalidRequestException
com.centrasite.jaxr.exceptions.DeleteRejectedByClassificationException
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.registry.JAXRResponse
public class DeleteRejectedByClassificationException
- extends javax.xml.registry.InvalidRequestException
Exception used when a Concept cannot be deleted because it is used by
some Classification
- 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 |
DeleteRejectedByClassificationException(java.lang.String errorMessage,
javax.xml.registry.infomodel.Classification classsification)
Construct a new DeleteRejectedByClassificationException |
Method Summary |
javax.xml.registry.infomodel.RegistryObject |
getClassification()
Return the classsification 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 |
rcs_id
public static final java.lang.String rcs_id
- See Also:
- Constant Field Values
DeleteRejectedByClassificationException
public DeleteRejectedByClassificationException(java.lang.String errorMessage,
javax.xml.registry.infomodel.Classification classsification)
- Construct a new DeleteRejectedByClassificationException
- Parameters:
errorMessage
- the error message stringclasssification
- the classsification that inhibits the delete operation
getClassification
public javax.xml.registry.infomodel.RegistryObject getClassification()
- Return the classsification that inhibits the delete operation.
The concept to be deleted is the concept of this classification.
- Returns:
- the classification that inhibits the delete operation