Class PortletServiceUnavailableException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
  • All Implemented Interfaces:
    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 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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 9.0