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

com.sas.services.deployment
Class ServiceDeploymentException

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

@SASScope(value="ALL")
@BinaryCompatibilityOnly
public final class ServiceDeploymentException

Exception used to represent a failure to deploy a service.

Use getDeployedServices() to obtain a list of services which were successfully deployed before the failure occurred.

Use getDeployedRemoteDiscoveryServices() to obtain a list of remote discovery services which were successfully located before the failure occurred.

Since:
9.2
See Also:
Serialized Form

Constructor Summary
ServiceDeploymentException(java.lang.Exception cause, java.lang.String message, java.util.List<RemoteServiceInterface> deployedServices, java.util.List<FindServiceInterface> deployedRemoteDiscoveryServices)
          Creates a service deployment exception for the specified cause, metadata source, and the list of services which were successfully deployed.
 
Method Summary
 java.util.List<FindServiceInterface> getDeployedRemoteDiscoveryServices()
          Gets a copy of a list of the remote discovery services which were successfully located.
 java.util.List<RemoteServiceInterface> getDeployedServices()
          Gets a copy of a list of the services which were successfully deployed.
 
Methods inherited from class com.sas.util.ChainedException
chainContains, getRootException, getRootException, getTargetException, getTargetException, printStackTrace, printStackTrace, printStackTrace, toString, toStringBuffer
 

Constructor Detail

ServiceDeploymentException

public ServiceDeploymentException(java.lang.Exception cause,
                                  java.lang.String message,
                                  java.util.List<RemoteServiceInterface> deployedServices,
                                  java.util.List<FindServiceInterface> deployedRemoteDiscoveryServices)
Creates a service deployment exception for the specified cause, metadata source, and the list of services which were successfully deployed.

Parameters:
cause - The reason a service failed to deploy.
message - Message that describes the exception.
deployedServices - The list of services which were successfully deployed or null if no services were successfully deployed.
deployedRemoteDiscoveryServices - The list of remote discovery services which were successfully located or null if no discovery services were looked up.
Method Detail

getDeployedServices

public java.util.List<RemoteServiceInterface> getDeployedServices()
Gets a copy of a list of the services which were successfully deployed.

Returns:
Copy of the list of the services which were successfully deployed.

getDeployedRemoteDiscoveryServices

public java.util.List<FindServiceInterface> getDeployedRemoteDiscoveryServices()
Gets a copy of a list of the remote discovery services which were successfully located.

Returns:
Copy of the list of the remote discovery services which were successfully located.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.