com.ibm.portal.resolver.exceptions
Class ServiceNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.resolver.exceptions.ResolutionException
              extended by com.ibm.portal.resolver.exceptions.EntityNotFoundException
                  extended by com.ibm.portal.resolver.exceptions.ServiceNotFoundException
                      extended by com.ibm.portal.resolver.exceptions.ServiceHandlerNotFoundException
                          extended by com.ibm.portal.resolver.exceptions.ServiceNotAvailableException
All Implemented Interfaces:
Localized, LocalizedStatus, Addressable, Constants, java.io.Serializable

public class ServiceNotAvailableException
extends ServiceHandlerNotFoundException

A service could not be found

Since:
7.0
See Also:
Serialized Form

Field Summary
protected  ServiceHandler handler
          service handler that could not instantiate the service
 
Fields inherited from class com.ibm.portal.resolver.exceptions.ServiceHandlerNotFoundException
pocURI
 
Fields inherited from class com.ibm.portal.resolver.exceptions.ServiceNotFoundException
service
 
Fields inherited from interface com.ibm.portal.resolver.data.Addressable
EMPTY_PARAMETERS
 
Fields inherited from interface com.ibm.portal.resolver.exceptions.Constants
SC_BAD_REQUEST, SC_GONE, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_REQUEST_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_UNAUTHORIZED
 
Constructor Summary
ServiceNotAvailableException(java.lang.Class<?> aService, ServiceHandler aHandler, java.net.URI aPocURI)
           
 
Method Summary
 ServiceHandler getHandler()
           
 java.lang.String getTitle(java.util.Locale aLocale)
          Returns the title of this object in the given locale.
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ServiceHandlerNotFoundException
getParameters, getPocURI, getURI
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ServiceNotFoundException
getEntity, getService, getStatus
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ResolutionException
findLocalized, findLocalizedStatus, getDescription, getLocales, getLocalized, getLocalized, getLocalizedMessage, getLocalizedStatus, getMessage, getTitle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

handler

protected final ServiceHandler handler
service handler that could not instantiate the service

Constructor Detail

ServiceNotAvailableException

public ServiceNotAvailableException(java.lang.Class<?> aService,
                                    ServiceHandler aHandler,
                                    java.net.URI aPocURI)
Parameters:
aService -
aPocURI -
Method Detail

getHandler

public ServiceHandler getHandler()
Returns:
Returns the handler.

getTitle

public java.lang.String getTitle(java.util.Locale aLocale)
Description copied from interface: Localized
Returns the title of this object in the given locale.

Specified by:
getTitle in interface Localized
Overrides:
getTitle in class ServiceHandlerNotFoundException
Parameters:
aLocale - the locale for which to retrieve the title, must not be null.
Returns:
the title of this node in the given locale. If a title is not available in the given locale, this method will return null. It is up to the invoker of the method to implement an appropriate fallback mechanism.