IBM WebSphere Application ServerTM
Release 8

com.ibm.portal.portlet.service
Class PortletServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.portlet.service.PortletServiceUnavailableException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PortletServiceInstantiationException, PortletServiceInvalidInterfaceException

public class PortletServiceUnavailableException
extends java.lang.Exception

Exception that indicates that a requested portlet service is not available. Possible reasons may be that the service was not configured or that the service failed during intialization.

Note that a service configuration problem may also be indicated by a failing JNDI lookup for the portlet service home.

All exceptions of this type indicate permanent unavailability, unless a subclass specifies explicitly that the unavailability is only temporary. If a portlet service is permanently unavailable, any further requests to retrieve the same service interface using the same JNDI name for the service home will also fail.

This exception derives from javax.portlet.PortletException so that portlets are not required to implement special error handling if they have no way of operating without the requested service. In this case, the exception can simply be propagated to the portal, so that the portlet becomes unavailable for the request.

This exception is an abstract class. Services that need to indicate errors in their initialization process must throw service-specific subclasses of this exception.

See Also:
Serialized Form

Constructor Summary
PortletServiceUnavailableException(java.lang.String s)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletServiceUnavailableException

public PortletServiceUnavailableException(java.lang.String s)

IBM WebSphere Application ServerTM
Release 8