***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.deployment
Class DependentServicesException

com.sas.services.deployment.DependentServicesException
All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface, java.io.Serializable

public class DependentServicesException

Exception used to indicate that a request to delete a metadata object has been rejected because a service that is not being deleted is dependent upon a service being deleted.

Since:
9.2
See Also:
Serialized Form

Method Summary
 com.sas.metadata.remote.DeployedComponent getDeleteObject()
          Gets the metadata object for which a deletion was attempted.
 com.sas.metadata.remote.DeployedComponent getDependencyObject()
          Gets the metadata object which depends upon an object for which a deletion was attempted.
 java.lang.String getLocalizedMessage()
          Gets a message detailing the service dependency which is preventing a deletion request from being accepted.
 java.lang.String getMessage()
          Gets a message detailing the service dependency which is preventing a deletion request from being accepted.
 

Method Detail

getDeleteObject

public final com.sas.metadata.remote.DeployedComponent getDeleteObject()
Gets the metadata object for which a deletion was attempted.

Returns:
The metadata object for which a deletion was attempted or null if not available.

getDependencyObject

public final com.sas.metadata.remote.DeployedComponent getDependencyObject()
Gets the metadata object which depends upon an object for which a deletion was attempted.

Returns:
The metadata object which has a dependency upon an object for which a deletion was attempted or null if not available.

getMessage

public final java.lang.String getMessage()
Gets a message detailing the service dependency which is preventing a deletion request from being accepted.

Overrides:
getMessage in class java.lang.Throwable
Returns:
Message detailing the reason why the deletion request was rejected.

getLocalizedMessage

public final java.lang.String getLocalizedMessage()
Gets a message detailing the service dependency which is preventing a deletion request from being accepted.

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
Message detailing the reason why the deletion request was rejected.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.