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

com.sas.services.deployment
Class ServiceLookupFailedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sas.util.ChainedException
                    |
                    +--com.sas.services.ServiceException
                          |
                          +--com.sas.services.deployment.ServiceLookupFailedException
All Implemented Interfaces:

public final class ServiceLookupFailedException
extends ServiceException
implements java.io.Serializable

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

Since:
1.1
See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serialization ID.
 
Constructor Summary
ServiceLookupFailedException(DeployableService[] deployableServices)
          Constructs an instance using the service template for which a service was not available.
ServiceLookupFailedException(Throwable throwable, 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.
 String getMessage()
          Gets an exception message detailing the service template that was desired, but not found in the currently deployed services.
 
Methods inherited from class com.sas.util.ChainedException
chainContains, getRootException, getRootException, getTargetException, getTargetException, printStackTrace, printStackTrace, printStackTrace, toString, toStringBuffer
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serialization ID.
Constructor Detail

ServiceLookupFailedException

public ServiceLookupFailedException(Throwable throwable,
                                    String message)
Constructs an instance by specifying a message and Throwable.
Parameters:
message - Exception's message.
throwable - Throwable that caused the exception.

ServiceLookupFailedException

public ServiceLookupFailedException(DeployableService[] deployableServices)
Constructs an instance using the service template for which a service was not available.
Parameters:
deployableServices - Services for which deployment was requested, but failed.
Method Detail

getDeployableServices

public final 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 final 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 Throwable
Returns:
Message

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




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:53