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

com.sas.services.deployment
Class ServiceLookupFailedException

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

public final class ServiceLookupFailedException
implements java.io.Serializable

An exception used in the event that a service lookup fails.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
ServiceLookupFailedException(DeployableService[] deployableServices)
          Constructs an instance specifying the services which failed to be located.
ServiceLookupFailedException(java.lang.Throwable throwable, java.lang.String message)
          Constructs an instance by specifying a message and Throwable.
 
Method Summary
 DeployableService[] getDeployableServices()
          Gets the service capabilities that were sought, but not available.
 java.lang.String getMessage()
          Gets an exception message detailing the service template that was desired, but not found in the currently deployed services.
 

Constructor Detail

ServiceLookupFailedException

public ServiceLookupFailedException(java.lang.Throwable throwable,
                                    java.lang.String message)
Constructs an instance by specifying a message and Throwable.

Parameters:
throwable - Throwable that caused the exception.
message - Exception's message.

ServiceLookupFailedException

public ServiceLookupFailedException(DeployableService[] deployableServices)
Constructs an instance specifying the services which failed to be located.

Parameters:
deployableServices - Services which failed to be located.
Method Detail

getDeployableServices

public DeployableService[] getDeployableServices()
Gets the service capabilities that were sought, but not available.

Returns:
Services that were expected to be available via a lookup, but not available.

getMessage

public java.lang.String getMessage()
Gets an exception message detailing the service template that was desired, but not found in the currently deployed services.

Overrides:
getMessage in class java.lang.Throwable
Returns:
Message

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.